HP 3000 Manuals

LABEL BREAK SET [ HP Transact Reference Manual ] MPE/iX 5.0 Documentation


HP Transact Reference Manual

LABEL BREAK SET 

Sets a breakpoint at the specified label.

Syntax 

{LABEL BREAK SET}label[,segment[,count[,{cmdlist}]]]
{LBS            }
Parameters 

label            A label within the active Transact system.  This does
                 not include command labels.

segment          The segment number corresponding to the label.  If this
                 parameter is omitted, the entire system will be searched
                 for the label.  However, if the same label is used in
                 multiple segments of the system, an error message will
                 be returned if the segment is not specified.

count            The number of times that the breakpoint label is
                 encountered before stopping.  The default count value is
                 1.

cmdlist          A set of commands executed every time the breakpoint
                 count condition is met.  The cmdlist parameter must
                 consist of valid TRANDEBUG commands separated by
                 semicolons.  NMDEBUG commands cannot be used.

Discussion 

This command allows you to set a breakpoint in the active Transact system
by specifying a label.  The segment value is needed if the same label is
used in multiple segments.  The label is resolved to a p-code offset and
a segment which is then processed as if a BREAK SET command was issued.


NOTE The output of the LABEL BREAK SET, BREAK LIST, and BREAK DELETE commands do not show the label that was used to set the breakpoint. Only the resulting segment and p-code offset are shown. Additionally, labels cannot be used to delete breakpoints.
Examples TRANDEBUG> label break set mylabel BREAKPOINT SET: SYSTEM SEGMENT OFFSET COUNT -------------------------------- 0. MYPROG 0 10 1 TRANDEBUG> label break set seg1label,,,{DISPLAY MATCH} BREAKPOINT SET: SYSTEM SEGMENT OFFSET COUNT -------------------------------- 1. MYPROG 1 3 1 CMD LIST>>>>> DISPLAY MATCH TRANDEBUG>lbs duplabel,5,6 BREAKPOINT SET: SYSTEM SEGMENT OFFSET COUNT -------------------------------- 2. MYPROG 5 183 6


MPE/iX 5.0 Documentation