Restart

Shortcut key: SHIFT+F5

The Restart command resets execution to the first line of the program. It reloads the program into memory and discards the current values of all variables.

You can use Restart whenever execution has stopped:

At a breakpoint

While single-stepping

When normal execution is complete

Use the Continue to Cursor, Go, Trace Into, or Step Over commands to step into the program.

The same breakpoints and watch expressions still apply after a Restart command.

If source files have changed, a prompt asks if you want to rebuild the project.

Related Commands

Run menu: Continue to Cursor, Go, Trace Into, Step Over

See Also

Controlling Program Execution, page 43