Use the Restart command (
) after stopping program execution. The debugger goes back to the beginning of the program and begins execution again. This behavior is equivalent to killing execution, then starting a new debugging session.
or
or
For more information on debugging, see C/C++ Development User Guide > Tasks > Running and debugging projects > Debugging.