Terminating a debug session

There are a number of ways to end or suspend a debug session. Various methods are described in the sections of this topic.

Terminate

Terminating immediately ends a debug session, and the program that you are debugging does not run to completion.

To terminate a debug session, in the Debug view, right-click the debug project, target, or thread that you want to terminate and select Terminate All from the pop-up menu.

Note: If you right-click the debug target, choosing Disconnect from the pop-up menu will also terminate the debug session. The program you are debugging will not terminate.

To terminate all debug sessions, right-click in the Debug view and choose Terminate All from the pop-up menu.

If you have terminated one or more sessions and want to remove them from the Debug view, right-click in the Debug view and choose Remove All Terminated from the pop-up menu.

Resume (Run)

If you are debugging an application that contains no active breakpoints and you choose to Resume, the application will run to completion, however, the debug session will remain open and you can load and debug other applications.


Feedback