Scrolling to a particular line number
To display a particular line at the top of a window, use the POSITION
or SCROLL
TO
command with the line or statement numbers shown in the
window prefix areas. Enter POSITION n
or SCROLL
TO n
(where n is
a line number) on the command line and press Enter.
For example, to bring line 345 to the top of the window, enter POSITION
345
OR SCROLL TO 345
on the command line. z/OS® Debugger scrolls
the selected window vertically so that it displays line 345 at the
top of that window.
If you used the LIST AT LINE
or LIST AT
STATEMENT
command to get a list of line or statement breakpoints,
then use the POSITION
or SCROLL TO
command
to display one of those breakpoints at the top of the Source window.
As an alternate to using the combination of the LIST AT LINE
or LIST
AT STATEMENT
command with the POSITION
or SCROLL
TO
command, you can use the FINDBP
command. The FINDBP
command
works in a manner similar to the FIND
command for
strings, except that it searches for line, statement, and offset breakpoints.