When you start a debugging session, the IDE starts the debugger in the project's associated tool collection, then runs the project inside the debugger. The IDE automatically opens the debugger windows and prints debugger output to the Output window.
To debug the main project:
. The program runs until it
reaches a breakpoint or exception or
until it terminates normally
To debug a project other than the main project, do one of the following:
To restart an existing debugging session:
. Restarting a debugging session throws out any cached state.
| See Also | |
|---|---|
|
Attaching the Debugger to a Running
Process Setting a Breakpoint in a C or C++ Program |
|