During a debug session, you can have Jython script run until the
end of it is reached or until an active breakpoint is hit.
To run the script, perform one of the following tasks:
- Click the Resume button (
).
- Select Run > Resume from the menu bar.
- Press F8.
If you select Run to Line in the editor, the
script will run to the selected line unless an active breakpoint is hit or
the end of the script is reached. You select the line by moving the cursor
to it.
To run script to a specific line number:
- Make sure the line to run to is visible in the editor by using
the scroll bar or cursor keys to locate the line.
- Run the script to the line by right-clicking it in the editor and
selecting Run To Line from the pop-up menu.
If you run Jython script until its end is reached, you can relaunch
a debug session for it by selecting Run > Debug Last Launched from
the menu bar, by pressing F11, or by right-clicking the debug target in the
Debug view and selecting Relaunch from the pop-up menu..
Note: If
the Skip breakpoints during a 'Run to Line' operation setting
in the Run/Debug preferences page is not selected, and there are breakpoints
between the current execution line and the target line that you want to run
to, the Jython debugger will stop on the first breakpoint after the current
execution line instead of the target line.