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
- 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.
- Click the Step Over button [
] in the view toolbar,
or press the F6 key.
The currently-selected line is executed and suspends on the next executable line.
Step into
- 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.
- Click the Step Into button [
] 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
- 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.
- Click the Step Return button [
] 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](../../images/ngrelc.png)
Debugger
![Related tasks](../../images/ngrelt.png)
Adding Line Breakpoints
Launching a DXL program in debug mode
Resuming Execution
![Related reference](../../images/ngrelr.png)
Debugger Known Limitations
Debugger Troubleshooting