Sparx Systems Forum
Enterprise Architect => General Board => Topic started 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.
-
Not yet, but maybe in a year or so ;)
-
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
-
Not yet, but maybe in a year or so :-)
EDIT: I stand corrected!
-
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)
-
However, it can't generate a sequence diagram statically from code. It is only from an actual run of a Java or .Net application.
-
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.
-
It's currently not possible to do it, but support for attaching to a process should be included in version 6.5.
-
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
-
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.
-
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.