Book a Demo

Author Topic: Debugging mixed managed/unmanaged application  (Read 3044 times)

Jean-Pierre

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Debugging mixed managed/unmanaged application
« on: September 24, 2014, 07:48:47 pm »
Dear EA users,

I am currently evaluating EA 11 by reverse engineering a large application with mixed native C++/C# code. My ultimate goal being to generate sequence diagram.

I was able to configure Execution analyzer script to build the application using MSBuild & VS2012 tool chain. In the Debug part of the script, i set the debugger type to "Microsoft.Net (Mixed Mode)". On the debug window, I am able to launch the application via the debug  command (F6). The breakpoints i set in the managed part of the code are being hit, but the breakpoints set in native part of the code are not hit (red icon display a question mark).

I am stuck at this point - did someone already faced this kind of issue ?

Regards,

Jean-Pierre

yves.carrier

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Debugging mixed managed/unmanaged application
« Reply #1 on: October 24, 2014, 04:23:10 am »
Hi Jean-Pierre,

Typically, this kind of behaviour comes from a bad synchronization between your model and your code. Try the "Synchronize Package with code" command on the part of your code where your breakpoints are not bound to your code. Hope it helps...
« Last Edit: October 24, 2014, 04:24:00 am by yves.carrier »