Stepping through the execution
When a session is suspended, you can use the following commands to step through the execution of the program line-by-line:
Command | Usage |
---|---|
Step Into | This command
steps into the current statement:
Note: Ensure that the
Reuse editor when displaying
source code option in the
Run/Debug preferences dialog box is
disabled. If this option is enabled, and you use the
command
while the script is not in the workspace, an error page is displayed in some
situations.
This command is equivalent to the s action in the classic 4GL Debugger. |
Step Over | This command
steps over the current statement:
This command is equivalent to the S action in the classic 4GL Debugger. |
Step Return | Run the
This command is equivalent to the return action in the classic 4GL Debugger. |
command,
or press F7, to continue the execution until the end of the current function.
Run to Line | Run the
This command is equivalent to the g) action in the classic 4GL Debugger. ( |
command,
or press CTRL+R, to move the execution pointer, without executing code, to the
line that you selected in the Editor area.
Note:
- You can start the step commands from the toolbar and the shortcut menu in the Debug view, and from the menu in the Eclipse Workbench.
- You can start the command only from the menu in the Eclipse Workbench.
- If a breakpoint is encountered while performing a step operation, the execution will suspend at the breakpoint and the step operation is ended.