SETTING BREAKPOINTS IN PRIVILEGED MODE [ MPE Debug/Stack Dump Reference Manual ] MPE/iX 5.0 Documentation
MPE Debug/Stack Dump Reference Manual
SETTING BREAKPOINTS IN PRIVILEGED MODE
Two modes are defined for breakpoints:
P private breakpoint mode (restricted to your own program)
S system breakpoint mode (includes entire MPE system)
When a system breakpoint is established, it is global; that is, any
program will break at that point. When a breakpoint is established in
private mode, only the program in which the breakpoint is established
breaks.
The A command can be used to specify that subsequent breakpoints are
private or global. Use AS to set global breakpoints; use AP to return to
private mode, the default. For example:
*DEBUG* PRIV 0.270
?AS
?B 5.301 (The first program to execute relative location
301, segment 5 will break.
.
.
.
*BREAK*SYS.PRIV 5.301 (In system global mode, the mode is indicated
by SYS.PRIV in the break message.
.
.
.
?AP (Subsequent breakpoints only apply to your
own program.)
To set breakpoints in the system segmented library, follow the B or R
commands by S. For example:
?BS 3.160+ 10,160+ 57 (Breakpoints are set at locations
160+ 10 and 160+ 57 of segment 3 of
the system segmented library.)
?RS 3.324 (Resume execution and break at location
324 in segment 3 ofthe system segmented library.)
To set a breakpoint in absolute code, follow the B command with A. For
example:
?BA 52.173 (Breakpoint is set at code segment
absolute 52, location 173.)
MPE/iX 5.0 Documentation