Book a Demo

Author Topic: Reverse Engineering to sequence & other diagrams?  (Read 3349 times)

Dave001

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Reverse Engineering to sequence & other diagrams?
« on: January 08, 2009, 07:53:28 am »
Is this possible?   My objective is to provide sequence, class, activity, and other UML diagrams from legacy code for a Software Design Document.  I hope that EA can help me reverse engineer to the documents mentioned above.

I have searched through EA's "Help", "User Manual", and Discussion boards.

If reverse engineering is possible, could someone point me to; a place where I could learn more, better search phrase, or lastly provide some hints on how to accomplish this task.

 :)

thanks in advance,

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Reverse Engineering to sequence & other diagra
« Reply #1 on: January 08, 2009, 09:23:41 am »
You should be able to do part of what you want.

Check out code engineering and go from there. That will get you the class diagrams.

Search the forum for links to add-ins to create one or two other diagram types; also look for debug information in help and the forum for some sequence diagram info (I think).

HTH, David
No, you can't have it!

Dave001

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Reverse Engineering to sequence & other diagra
« Reply #2 on: January 23, 2009, 06:54:46 am »
I checked with Sparx and they verified that Class diagrams are the only UML that are reverse engineered.

They did mention doing a forward looking sequence diagram from running debugger on the code.  However, at this point I am having trouble establishing the environment.  

I set the following required variable:
 -agentpath:"c:\program files\sparx systems\ea\SSJavaProfiler71" as an environment variable and get this as an error message:
ERROR: JDWP unable to get necessary JVMTI capabilities. ["debugInit.c",L279]


Thomas Mercer-Hursh

  • EA User
  • **
  • Posts: 386
  • Karma: +0/-0
  • Computing Integrity
    • View Profile
Re: Reverse Engineering to sequence & other diagra
« Reply #3 on: January 23, 2009, 09:30:49 am »
Recognize that there is a certain conceptual problem of trying to reverse engineer to too abstract a level, because more abstract levels contain aspects like intent and meaning which are not recorded in the code.  So, even if you get a sequence diagram of possible sequences, it won't tell you anything about why that structure exists.