Book a Demo

Author Topic: auto-create sequence digram  (Read 5746 times)

M.GH

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
auto-create sequence digram
« on: November 28, 2006, 01:34:42 am »
Hi all,
i'm very new to EA, but have a lot of experince with Rose. my job is at the moment to create Model for our old project. Our Project is in form of a lot of Dlls , which can be used as plugins for a Application( IDE ).
As I have seen EA , can help me to create sequence digrams after starting a debug session. My problem is just now that the main-function is not in our Model.
I tryed to set some breakpoints inside source and start the debuger, but EA ignores my Breakpoints.
may anybody has a idea ????

thanks a lot

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: auto-create sequence digram
« Reply #1 on: November 28, 2006, 04:53:46 am »
Are you sure your main function is in one of the dll files? Is it possible that you are calling into these files from someplace, and the main function is actually there?
No, you can't have it!

M.GH

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: auto-create sequence digram
« Reply #2 on: November 28, 2006, 05:02:26 am »
Hi,
thanks for your answer.
It is so that our project implements some plugins.  The main function is delivered by IDE. I can't debug IDE, therefor I do it with our DLLs. Inside VS(native, without .NET) it works fine, if I set some breakpoints inside our DLLs.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: auto-create sequence digram
« Reply #3 on: November 28, 2006, 05:08:22 am »
What I think you are saying is that the mail (or calling) function is outside of the executables you are trying to run in the debug session. In that case EA is doing the correct thing, in the sense that if there is no main function it should not be creating one in the model.

Perhaps you need to create a simple stub, something that will look and act like the main function you want and will call into your dll files. Then you can debug the whole session and (perhaps) get the results you need.

Otherwise, consider manual intervention to update your sequence diagram. Perhaps you could put this at a higher level in the model, so that the current auto-generated diagrams are untouched.
No, you can't have it!