Book a Demo

Author Topic: Reverse engineering  (Read 2766 times)

Tehila1

  • EA User
  • **
  • Posts: 256
  • Karma: +0/-0
    • View Profile
Reverse engineering
« on: February 04, 2014, 07:41:07 pm »
Hello!

What is the most convenient way to synchronize the code with the appropriate sequence diagrams step by step?
 
Is there an easy way to do so directly from EA without installing other features?

Thanks in advance!

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Reverse engineering
« Reply #1 on: February 05, 2014, 03:26:44 am »
I doubt this would be possible with any tool at all. How would you steer runtime behavior so it matches the samples shown in a sequence diagram? You would need some test framework that leads your code through the path. Then you could advise EA to create a sequence diagram. But then it's up to you to compare design and as-is.

q.

Tehila1

  • EA User
  • **
  • Posts: 256
  • Karma: +0/-0
    • View Profile
Re: Reverse engineering
« Reply #2 on: February 05, 2014, 07:01:21 pm »
Thanks for reply,

If I have the option to install some utilities, what is the best one which enables reverse engineering to a sequence diagram?

In EA I found I can view the source code, run it, and from stack trace window, click the sequence diagram icon. However, I cannot run the source code, Run option in the execution analyzer is always enabled. Any ideas?

Thanks in advance.
« Last Edit: February 05, 2014, 11:14:55 pm by avoda234 »