Terminate Program Execution

Use the Terminate command () to stop or halt a program based on the type of debugging session underway. Terminate behavior includes:

This behavior differs from suspending a program, as this temporarily suspends execution.

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

Terminating Program Execution

or

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

Related references