Native Inspect Manual (H06.04+)

Syntax of Native Inspect Commands
Native Inspect Manual528122-005
4-14
break command, tbreak command
break command, tbreak command
Break sets an instruction breakpoint for the current process, at a specified line,
function, or address. The tbreak command is similar, but sets a temporary breakpoint
that is deleted after it is hit.
Related Commands: Use the enable command and disable command to enable and
disable breakpoints, respectively.
Aliases: b, br, bre, brea, tb
linespec
is the line number at which you want to set a breakpoint.
flags
can be either or both of:
-g
indicates a global breakpoint, which can be set only by the super ID user after
issuing the priv command.
-h
indicates a halt loop breakpoint, which can be set only by the super ID user
after issuing the priv command.
llce
is a low-level conditional expression (cannot be specified with the -h flag).
cond-exp
is a language expression that produces an integer or Boolean result.
For COBOL-specific considerations, see Evaluating Expressions on page 3-8.
Setting Conditional Breakpoints
You can set a conditional breakpoint with the break or tbreak command by
including either an llce (a low-level conditional expression, which is evaluated by
the breakpoint interrupt handler) or a source language expression (evaluated by
the debugger). In either case, the breakpoint is reported only if the expression
evaluates to True or a nonzero result. Otherwise, execution of the program
continues. For information about specifying an llce , see Syntax of llce on
page 4-8.
{break | tbreak} [linespec] [flags] [-e llce | if cond-exp ]