Author Topic: Does EA rev engineer sequence diagram from code?  (Read 4928 times)

pathurun

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Does EA rev engineer sequence diagram from code?
« 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.

thomaskilian

  • Guest
Re: Does EA rev engineer sequence diagram from cod
« Reply #1 on: April 29, 2005, 09:37:44 am »
Not yet, but maybe in a year or so  ;)

colin_desmond

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Does EA rev engineer sequence diagram from cod
« Reply #2 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

Bruno.Cossi

  • EA User
  • **
  • Posts: 803
  • Karma: +0/-0
    • View Profile
Re: Does EA rev engineer sequence diagram from cod
« Reply #3 on: April 04, 2006, 09:53:05 am »
Not yet, but maybe in a year or so :-)

EDIT: I stand corrected!
« Last Edit: April 04, 2006, 04:08:12 pm by Bruno.Cossi »

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +54/-3
    • View Profile
Re: Does EA rev engineer sequence diagram from cod
« Reply #4 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

The Sparx Team
[email protected]

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8068
  • Karma: +118/-20
    • View Profile
Re: Does EA rev engineer sequence diagram from cod
« Reply #5 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.

Dennis

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Does EA rev engineer sequence diagram from cod
« Reply #6 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.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8068
  • Karma: +118/-20
    • View Profile
Re: Does EA rev engineer sequence diagram from cod
« Reply #7 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.

FBSV

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Does EA rev engineer sequence diagram from cod
« Reply #8 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
« Last Edit: April 20, 2006, 12:00:53 am by FBSV »

Dennis

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Does EA rev engineer sequence diagram from cod
« Reply #9 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.

FBSV

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Does EA rev engineer sequence diagram from cod
« Reply #10 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.
« Last Edit: April 21, 2006, 01:20:18 am by FBSV »