Debugging with Visual C++

For developers writing C++, Fortran, Java, code who have questions or comments to make.

Moderators: silvia, selimgunay, Moderators

Post Reply
fede121
Posts: 2
Joined: Wed Jun 06, 2012 3:25 pm
Location: Unipd

Debugging with Visual C++

Post by fede121 »

Hi Frank,
I'm Federico, we met at the OpenSees Days in Rome, just before your talk.
Now I started my project.

Is there a way to see how OpenSees work making a step by step debugging?
Now I'm using Visual Studio, I tried to give commands to tcl terminal that OpenSees fires up and by loading the tcl script from command line, in both cases I found that the TCL is interpreted without calling a method, so I can't breakpoint to use the debugging feature.
Is there a way to do it?
Thank you,
have a nice day.
luisneves
Posts: 2
Joined: Sat Jun 16, 2012 7:31 am

Re: Debugging with Visual C++

Post by luisneves »

try putting a breakpoint in tkMain.tcl arround line 188.

It should start debugging at the start of the program. Then you can see where it does after issuing a command.

LN

PS: probably not the samrtest answer, but it's the way I started...
Post Reply