NET/MASTER Management Services (MS) Command Reference Manual
DEBUG BREAKPOINT
NonStop NET/MASTER MS Commands
2–30 115412 Tandem Computers Incorporated
EXTERNAL
sets a breakpoint at the entry to any procedure or function resolved by an
external call.
NCL suspends execution just before the NCL process executes the first
statement of the procedure or function. This is after all variables are
initialized.
The first statement of a procedure is PROCEDURE. The first statement of
a function is FUNCTION.
If NCL does not find the external procedure or function, it either raises an
error or sets a return code to continue. If a return code is set, the NCL
process is suspended before it executes the next statement.
You should also place a breakpoint on either the general error handler,
ERROR, or the specific error handler, LOADFAIL_ERROR. This traps the
condition in which an error is raised if NCL attempts, but fails, to load an
external procedure or function.
SCOPE
specifies a nesting level. NCL places a breakpoint at the error handler,
procedure, function, statement, termination point, or variable at the specified
nesting level.
When you specify a statement number, you should specify a single statement
number only, not a complete statement position specification. If you use this
operand with a complete statement position specification, the specification is
ignored.
0
specifies the current nesting level.
nesting-level
specifies the nesting level of a caller procedure or function.
A nesting level of 1 specifies the immediate caller, a nesting level of 2
specifies the caller of that caller, a nesting level of 3 specifies the caller of
that caller, and so on.
STMT
specifies a statement in a procedure or function.
The source file must be loaded privately by the target NCL process to set a
breakpoint on a specific statement (it cannot be shared). The statement does
not have to be executing when the breakpoint is placed on it.