Restart Your Program
Note:
You cannot restart a program that
you attached to with the debugger.
You can start debugging your program again
from the beginning (the start of the main function) by doing the
following:
- If the program is currently executing within the
debugger, issue a Halt command by selecting Run->Halt
from a Source window or the Session Control window, or
pressing the
button.
- Set a breakpoint at the location you want to run to, if
it is not the start of the main function and you have
not already set a breakpoint there.
- If the previous run of your program performed file output
and the program logic will be changed by the existence of
such files from a previous debug session, you may want to
erase these files before restarting.
- Select Run->Restart from a Source window or the
Session Control window.
- If you want to run up to a breakpoint, issue the Run
command by pressing Ctrl+R from any window (or R from a
Source window) or pressing the
button.

Halt Execution of a Debuggee Program
Set Breakpoints