Book a Demo

Author Topic: Reverse Engineered Sequences  (Read 13219 times)

Matt Thomas

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Reverse Engineered Sequences
« on: March 20, 2012, 03:13:31 am »
Hello EA Community
I would like to know if, by connecting EA to C# code via MDG link, it is possible to trace the execution of the code and reverse engineer the sequences that the code runs through?
I hope EA can do it  :)
If anybody has experience of it and can point me at an exemplar model to get started with, that'd be great.
Cheers all,
Matthew

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Reverse Engineered Sequences
« Reply #1 on: March 20, 2012, 08:21:02 am »
You'll need to use the EA debugger in order to trace the execution, it doesn't require MDG Link. Have a look at the EA example model and Learning Center for instructions and an example you can step through.
« Last Edit: March 20, 2012, 08:21:44 am by simonm »

Matt Thomas

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Reverse Engineered Sequences
« Reply #2 on: March 30, 2012, 12:53:04 am »
Thank you. Does this require heavy scripting? I know the sample will provide the answer but we are under a heavy workload so I want to assess whether to invest time at present or delay this research.  :)

Incidentally, the forum 'Notify of replies:' checkbox doesn't work for me. My email address is correct and it's not stopped in Junk.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Reverse Engineered Sequences
« Reply #3 on: March 30, 2012, 08:24:57 am »
If you have a simple application, my experience suggests it's pretty easy. Generally it's a matter of specifying the command for Visual Studio to build it, and specifying what you want to debug.

Connecting to a webserver can be a little more trouble, but I don't really have experience with that personally.

Jerkerus

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
  • Think first - order later!
    • View Profile
Re: Reverse Engineered Sequences
« Reply #4 on: April 11, 2012, 12:13:53 am »
Can anyone help with that? (i.e. connecting the debugger to a webserver).

We have a Web Service where we would like to debug and generate sequence charts of the business layer, but can not get is to work. Using a stand alone application works fine, or connecting to a process of an executable, but not a hosted service. Our code being built typically is a dll and not an executable and the host process is either IIS or WCF Service Host (if run from Visual Studio). Attaching to either of theses processes does not work.

Matt Thomas

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Reverse Engineered Sequences
« Reply #5 on: April 16, 2012, 11:00:53 pm »
Quote
Can anyone help with that? (i.e. connecting the debugger to a webserver).

We have a Web Service where we would like to debug and generate sequence charts of the business layer, but can not get is to work. Using a stand alone application works fine, or connecting to a process of an executable, but not a hosted service. Our code being built typically is a dll and not an executable and the host process is either IIS or WCF Service Host (if run from Visual Studio). Attaching to either of theses processes does not work.

Just an idea about DLLs - perhaps you can instrument an interface layer that dummies the DLL calls?? This worked with another tool but I haven't yet got to grips with EAs animation capabilities, so this could be way off track.