Book a Demo

Author Topic: how to reverse sequence diagram  (Read 5875 times)

kelvin273

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
how to reverse sequence diagram
« on: April 09, 2007, 10:47:54 am »
hi all,
i'm trying to create sequence diagram from source code (c#) but i can't debug my code.
this is the setting of my build script:

name: test
directory: D:\project
BUILD: C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE\devenv.com /Build Debug project.sln
RUN: bin\Debug\project.exe
DEBUG: bin\Debug\project.exe

run works fine and build return:
==========
Build: 8 succeeded or up-to-date, 0 failed, 0 skipped ==========
D:\project Build completed with exit code 0

but, when i try to debug, i receive this message:
Executing command: C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE\devenv.com /Build Debug project.sln
Command completed with exit code 0
09/04/2007 21::41 Default Directory is D:\project
09/04/2007 21::41 D:\project\bin\Debug\project.exe targets .NET version v2.0.50727
09/04/2007 21::41 Debugger CLR runtime version is v2.0.50727
09/04/2007 21::41 Warning, all breakpoints failed to bind, check binaries built with debug information and source files synchronized with Model
09/04/2007 21::41 debug ends for D:\project\UI\bin\Debug\project.exe

can anyone help me?
thank you, bye.

kelvin273

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: how to reverse sequence diagram
« Reply #1 on: April 13, 2007, 09:43:42 am »
 ???

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: how to reverse sequence diagram
« Reply #2 on: April 15, 2007, 12:50:58 pm »
All I can suggest, is making sure you have reverse engineered the latest code into your model.

If you've already done that then email support with your problem and I'm sure someone here will be able to help you.
« Last Edit: April 15, 2007, 12:51:16 pm by simonm »

kelvin273

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: how to reverse sequence diagram
« Reply #3 on: April 18, 2007, 10:27:09 pm »
i'm sure the code is the latest (i also try to make a new reverse from the same code in another project, but none)

it's possible it's an error of my build script configuration, but i don't know.

i try to sent a mail to support.

thanks for reply,
bye

greg.bradburn

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: how to reverse sequence diagram
« Reply #4 on: January 17, 2008, 10:29:51 am »
I am having the same issue, using EA Profressional Edition 7.0.818.

I imported the C# source code, recursively, for the project I want to document.

Note: There are dependencies in this project, other projects, that I did not import but since I'm not debugging into them I'm not sure if that's an issue or not.

The build script for my class model is as follows:directory: v: (this is a mapped drive)

my build path/command is:
v:\buildit.bat v:\app_root\app.sln

the batch file calls vcvars32.bat and runs msbuild against a .sln file to build the solution.

The build step works fine.
Code: [Select]
v:\buildit.bat v:\Acme\Code\SchwabPT.PortfolioCenter.ManagementConsole.sln

However, here's the output from the debug step:
Code: [Select]
17/01/2008 13::24 Default Directory is v:
17/01/2008 13::24 v:\app_path\app.exe targets .NET version v2.0.50727
17/01/2008 13::24 Debugger CLR runtime version is v2.0.50727
17/01/2008 13::24 Process created \Device\HarddiskVolume2\app_path\app.exe running CLR version v2.0.50727
17/01/2008 13::24 Debug process in domain DefaultDomain
17/01/2008 13::24 Debug process in domain app.exe
17/01/2008 13::24 Debug process in domain Domain 2
17/01/2008 13::24 Debug process in domain SnapIn Spyder AppDomain
17/01/2008 13::24 Inspecting 'v:\...\some.dll' for snapins...
17/01/2008 13::24 Inspecting 'v:\...\some.dll' for snapins...
etc (there are several of these lines, one for each dll in the application)
17/01/2008 13::24 Warning, all breakpoints failed to bind, check binaries built with debug information and source files synchronized with Model
17/01/2008 13::24 debug ends for v:\app_path\app.exe


I get this error after viewing source code in Ea, setting a break point and hitting F6 to do a debug run.

Note: if I put a breakpoint at the beginning of my Main() method then the debug will work and stop on that breakpoint. However, putting it farther in the app does not work. I tried putting the breakpoint in Main() and then, after the debugger stopped on the breakpoint, adding my second one where I want to start recording. As soon as I hit F6 to continue, my second breakpoint disappears and I get the debug ended message in my output window.

I'm obviously missing something. Why are my breakpoints not binding?

Thanks in advance for any help,

Greg.
« Last Edit: January 17, 2008, 10:48:03 am by greg.bradburn »