## Suspending Program Execution

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

#### Stopping a Debug Session

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

The operating system surrenders control to the debugger, which suspends program execution.

For more information on debugging, see C/C++ Development User Guide > Tasks > Running and debugging projects > Debugging.

##### Related references

- Working with the Debugger
- Debug View