Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29279 Discussions

How to reset debug exectuable in VS2008

Ashley_Weinstein
Beginner
485 Views
OK, I'm sure this is easy but so far I'm struggling...

When I first went to debug a project I'm working on the IDE prompted me to enter the executable to debug. I entered in the wrong executable (Release version "re20.exe" not Debug version "de20.exe") and now I get the error "No debugging information... Binary was not built with debug information". I would like to switch to the debug executable however so far I haven't been able to do so.

So I right clicked on the Fortran project and I go to Config Properties -> Debugging window. Here I set Command Action to "de20.exe", Command Arguments to "input.txt", and the Working Directory to "...\\Debug". Still when I go to debug the IDE is going to the Release executable "re20.exe". How do I overwrite the initial debugging executable??
0 Kudos
2 Replies
Ashley_Weinstein
Beginner
485 Views
Solved my own question! I had a C++ static library project in a larger solution file that was set to the "re20.exe" under Config Properties -> Debugging -> Command. Yay, learning is fun!
0 Kudos
IanH
Honored Contributor III
485 Views
Also perhaps pertinent - the name of the project that will be run (and hence whose debugging settings will be used by the debugger) when you hit F5 or choose Debug > Start [Without] Debugging is bolded in the Solution Explorer window in Visual Studio. If you want another project to be run instead then right click on its name and select Set as StartUp Project.
0 Kudos
Reply