Suspending and Resuming a Debug Session

Once you've started a debug session, the Debug view provides controls to both suspend and resume program execution under debugger control. The following items describe the commands for:

Suspending a program

Use the Suspend command () to stop program execution during a debugging session.

To suspend a running program:

  1. Select the thread in the Debug view to suspend
  2. Click the Suspend () button, or right-click the thread and select Suspend

Resuming a program

Use the Resume command () to continue executing a suspended debugging session. If the debugging session is already active, use this command to switch view from the Thread window to the executing program.

The ways you can resume a program include:

NOTE If the Debug view loses focus, the Resume control will appear disabled. To regain focus, select a thread in the Debug view to update the tool bar and reactivate the Resume control.

Other references