Can not Debug the source code?

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

Moderators: silvia, selimgunay, Moderators

Post Reply
rgrayeli
Posts: 20
Joined: Fri Mar 14, 2008 8:18 am
Location: UC Berkeley
Contact:

Can not Debug the source code?

Post by rgrayeli »

Hi;

I just did implement a new nDMaterial and trying to debug the created code just simply by adding couple of breakpoints. but unfortunately it seems debugger keep jumping over all breakpoints and going to the end of tcl script and the thing is I'm not getting any error at all. would you please let me know what probably is wrong here?

Roozbeh
UC Berkeley, PhD student.
Roozbeh
PhD student
GeoEngineering
UC, Berkeley
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: Can not Debug the source code?

Post by fmk »

did you try putting a few output statments in the code to see if those breakpoints are being reached, i.e. opserr << "GOT HERE\n";
rgrayeli
Posts: 20
Joined: Fri Mar 14, 2008 8:18 am
Location: UC Berkeley
Contact:

Re: Can not Debug the source code?

Post by rgrayeli »

thank you frank I could fix that ...
Roozbeh
PhD student
GeoEngineering
UC, Berkeley
gareth
Posts: 1
Joined: Sat Feb 19, 2011 5:16 am
Contact:

Re: Can not Debug the source code?

Post by gareth »

I had exactly the same problem, thanks :D
Post Reply