This may be a very simple question, but being new to Visual Studio and C++, I'm having hard time with this problem.
Background: I am working on a source code (OpenSEES), Which is completely written in Visual Studio C++. I downloaded the complete source code and compiled it in Visual Studio (C++) 2010. The source code gave me a ".exe" file.
The inputs parameters need to be written in ".tcl" file (as shown in figure - 1), then using the ".exe" file (as shown in figure - 2, which actually looks like a command window, in which I will give a command like this, source myfile.tcl
), I will run the tcl input file, finally the program will give me some outputs in ".out" files (which contains all the results, that I need).
Problem: 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 code. Hence, I have no way but to understand the functioning of the source code, line by line using break points.
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.
Is there somewhere I can link my ".tcl" input file, to the source code and then debug in the visual studio.
Example Picture:
Figure - 1, Input file, which contains series of commands Figure - 2, Opensees.exe, which complied form the source code