Inspect Manual

High-Level Inspect Commands
Inspect Manual429164-006
6-22
BREAK
THEN { command-string | alias-name }
directs Inspect to execute a list of commands when the breakpoint triggers a break
event. This list of commands is defined either by an explicit command string or by
an alias name.
command-string
is an Inspect command list enclosed in either quotation marks (") or
apostrophes (').
alias-name
is the name of an alias whose replacement text is a command list. The alias
need not exist when you define the breakpoint; however, it must exist when the
breakpoint is activated. Syntax and semantic checking are not done until the
breakpoint has been triggered.
General Usage Considerations
Listing All Breakpoints
Use the BREAK command without any parameters to list all breakpoints in your
current program.
Breakpoints at Primary Entry Points
A break event at the primary entry point of a scope unit suspends execution before
the scope unit allocates and initializes its local data. In general, you can perform
the initialization by entering a STEP 1 STATEMENT command after the break
event.
Breakpoints Limits
The numbered breakpoint limit in a program is 99. After you have exceeded 99
breakpoints, Inspect maintains the breakpoint list, but no longer numbers them.
For more numbered breakpoints, delete unnecessary breakpoints. The breakpoint
limit in a TCP is 20 per TCP.
Changing the Conditions and Actions of a Breakpoint
You can alter a breakpoint's conditions and actions by entering a BREAK
command with the same break location but different break conditions and break
actions. No prior CLEAR is needed. Inspect will report that the old breakpoint was
replaced.
Breakpoint Definition versus Breakpoint Activation
Inspect processes some of a breakpoint's attributes when you define the
breakpoint (breakpoint definition), and others when the breakpoint is encountered
(breakpoint activation). Because the scope path and input radix used for
qualification might change between definition and activation, you should exercise
caution when using unqualified identifiers or numbers in a breakpoint definition.