Stepping through the execution of a DXL program

When the execution is suspended, the step controls can be used to step through the execution of the program line-by-line. If a breakpoint is encountered while performing a step operation, the execution will suspend at the breakpoint and the step operation is ended.

Step over

  1. Select a stack frame in the Debug View. The current line of execution in that stack frame is highlighted in the editor in the Debug Perspective.
  2. Click the Step Over button [ Step Over ] in the view toolbar, or press the F6 key. The currently-selected line is executed and suspends on the next executable line.

Step into

  1. Select a stack frame in the Debug View. The current line of execution in that stack frame is highlighted in the editor in the Debug Perspective.
  2. Click the Step Into button [ Step Into ] in the view toolbar, or press the F5 key. The next expression on the currently-selected line to be executed is invoked, and execution suspends at the next executable line in the function that is invoked.

Step Return

  1. Select a stack frame in the Debug View. The current line of execution in that stack frame is highlighted in the editor in the Debug Perspective.
  2. Click the Step Return button [ Step Return ] in the view toolbar, or press the F7 key. Execution resumes until the next return statement in the current function is executed, and execution suspends on the next executable line.

Related concepts
Debugger

Related tasks
Adding Line Breakpoints
Launching a DXL program in debug mode
Resuming Execution

Related reference
Debugger Known Limitations
Debugger Troubleshooting