Home > Articles > Programming > Windows Programming

  • Print
  • + Share This
Like this article? We recommend

Like this article? We recommend

Single-Stepping Your Program

When your program is in break mode—that is, the program has paused at a breakpoint—you can control how execution continues. The following table shows the commands available for this purpose on the Debug menu, along with their keyboard shortcuts.

Debug Command

Shortcut Key

Action

Continue

F5

Continues normal execution, running to the next breakpoint or to program termination.

Step Into

F8

Executes the next statement. If the statement is a procedure or method call, pauses at the first statement in the procedure or method.

Step Over

Shift-F8

Executes the next statement. If the statement is a procedure or method call, executes the entire procedure and pauses at the first statement following return from the procedure.

Step Out

Ctrl-Shift-F8

Executes the next statement. If the statement is within a procedure or method, executes the remainder of the procedure or method and pauses at the first statement following return from the procedure.

  • + Share This
  • 🔖 Save To Your Account