- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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??
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??
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page