Debugging C++ (Visual Studio) source code with “.tcl” file

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

Moderators: silvia, selimgunay, Moderators

Post Reply
polimeruvijay
Posts: 43
Joined: Fri Jan 29, 2016 10:20 pm

Debugging C++ (Visual Studio) source code with “.tcl” file

Post by polimeruvijay »

Dear OpenSEES Community Members

When I run the input file using the opensees executable, the program is not giving me the values I expected, there is some problem within the source code. Hence, I have no way but to understand the functioning of the source code, line by line using break points in visual studio.

I want to know, Is there any way to debug my ".tcl" input file, line by line using break points in the source code.

I found one answer similar to my problem (link) on this stackoverflow.com, but it is written for command line arguments, I need for ".tcl" input file.

Link: https://stackoverflow.com/questions/298 ... 713#298713

Is there somewhere I can link my ".tcl" input file, to the source code and then debug in the visual studio.

Thank you very much...
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: Debugging C++ (Visual Studio) source code with “.tcl” fi

Post by fmk »

you have to build a debug version of OpenSees in VS as we do not release a debug version .. running the released version will not work as there is no data in the exe with which the debugger can use.
Post Reply