Setting and Removing Unconditional Job Breakpoints
You can set or remove an unconditional Job breakpoint by using:
- F6 (Add/Clear breakpoint) or F13 (Work with module breakpoints) from the Display Module Source display
- The BREAK debug command to set a job breakpoint
- The CLEAR debug command to remove a jobbreakpoint
- The Work with Module Breakpoints display.
The simplest way to set and remove an unconditional job breakpoint is to use F6 (Add/Clear breakpoint). The function key acts as a toggle and so it will remove a breakpoint from the line your cursor is on, if a breakpoint is already set on that line.
To remove an unconditional job breakpoint using F13 (Work with module breakpoints), press F13 (Work with module breakpoints) from the Display Module Source display. A list of options appear which allow you to set or remove breakpoints. If you select 4 (Clear), a job breakpoint is removed from the line.
An alternate method of setting and removing unconditional job breakpoints
is to use the BREAK and CLEAR debug commands. To set an unconditional job breakpoint using the BREAK debug command, type:
BREAK line-number
on the debug command
line. The variable line-number is the line number in the currently
displayed view of the module object on which you want to set a breakpoint.To remove an unconditional job breakpoint using the CLEAR debug
command, type:
CLEAR line-number
on the debug command
line. The variable line-number is the line number in the currently
displayed view of the module object from which you want to remove a breakpoint. When a job breakpoint is cleared, it is also cleared for all threads.