The Science of Debugging
Chapter 7


7.3 Stopping the MSVC Debugger

You can stop your program in a number of different ways, but the quickest is to select your Visual Studio window (as your new application normally gets focus when it's started), and type -F5.

The alternative to this is to terminate the debugging session via the Build Stop Debug menu option. If you kill the program manually; close the window manually, use -c to cause an interrupt signal, or kill the process from a task manager, the debugger tries to figure out what happened, and how to deal with it. It's not exciting, and you'll probably still have to select the menu option or shortcut key to stop the debug anyway.

My personal favorite way to stop the debugging session involves defibrillators.

Not recommended for the beginner.



Index
7.2 Starting the MSVC Debugger 7.4 Examination