Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: pathurun on April 29, 2005, 07:44:57 am

Title: Does EA rev engineer sequence diagram from code?
Post by: pathurun on April 29, 2005, 07:44:57 am
Just purchased EA and it is looking good.
Just wondering if EA reverse engineers sequence diagram from code? I have code already written, i would like to create Sequence diagrams, so i am wondering if EA can do this. Please let me know.
Thanks.
Title: Re: Does EA rev engineer sequence diagram from cod
Post by: thomaskilian on April 29, 2005, 09:37:44 am
Not yet, but maybe in a year or so  ;)
Title: Re: Does EA rev engineer sequence diagram from cod
Post by: colin_desmond on April 04, 2006, 09:08:04 am
As it is now nearly a year since the original post, are we likely to see reverse engineering of sequence diagrams any time soon?

Thanks

Colin
Title: Re: Does EA rev engineer sequence diagram from cod
Post by: Bruno.Cossi on April 04, 2006, 09:53:05 am
Not yet, but maybe in a year or so :-)

EDIT: I stand corrected!
Title: Re: Does EA rev engineer sequence diagram from cod
Post by: KP on April 04, 2006, 03:55:58 pm
Quote
As it is now nearly a year since the original post, are we likely to see reverse engineering of sequence diagrams any time soon?

Thanks

Colin


Already available: Recording and Diagramming a Debug Session (http://sparxsystems.com.au/EAUserGuide/index.html?recording_a_debug_session.htm)

Title: Re: Does EA rev engineer sequence diagram from cod
Post by: Eve on April 04, 2006, 04:15:26 pm
However, it can't generate a sequence diagram statically from code.  It is only from an actual run of a Java or .Net application.
Title: Re: Does EA rev engineer sequence diagram from cod
Post by: Dennis on April 12, 2006, 11:54:47 pm
I have been experimenting with this feature and I find it very useful.  However, I have a .NET program that runs embedded in another application and I typically debug this program by attaching Microsoft's .NET debugger to the running process.  Is there any way to do this from within EA?

Thanks in advance.
Title: Re: Does EA rev engineer sequence diagram from cod
Post by: Eve on April 17, 2006, 03:33:40 pm
It's currently not possible to do it, but support for attaching to a process should be included in version 6.5.
Title: Re: Does EA rev engineer sequence diagram from cod
Post by: FBSV on April 19, 2006, 08:32:03 am
I explain my problem: I want do develop an application easly. For that, I realize a sequence diagram. For exemple, for articles, the user can remove/add/modify an article. I modelize that. So then, I would like to generate the code, at least a skeleton. I know that it's not possible directly, but can I obtain the same result with several others operations?
For example, if I replace an entity by a class, I can, thanks to DDL, obtain a table. Can I, similarly, obtain a skeleton of code from my sequence diagram?

Thanks,

Vince
Title: Re: Does EA rev engineer sequence diagram from cod
Post by: Dennis on April 21, 2006, 12:47:27 am
I think you have create classes and drag them into your sequence diagram to create your Lifelines.  Then if, when you add a new message, you can click on the "operations" button when editing the message properties,  you can add a methods to your class (in the sequence diagram).  Once your sequence diagram is finished you can export your classes as source code using the code engineering menu.  This will generate skeleton code for all the methods that you defined when you added your messages.

cheers.
Title: Re: Does EA rev engineer sequence diagram from cod
Post by: FBSV on April 21, 2006, 01:19:43 am
Thanks a lot.

But, i won 't create my classes before. I would like that ea make my classes from the sequence diagram. Isn't it possible? It's saying I make my sequence diagram with boundary, control and entity. I add my messages. And then I ask to ea to genarate the code of classes which corresponds to my lifelines.