NET/MASTER Network Control Language (NCL) Programmer's Guide

Continuing Execution of an NCL Process
Debugging an NCL Process
106160 Tandem Computers Incorporated 9–53
Resuming Execution to the
Next Breakpoint
The DEBUG RESUME command allows you to resume execution of a currently
suspended NCL process to the next breakpoint or until the NCL process terminates.
After suspending execution at statement 16 in the ZEX0902N NCL procedure, the
following screen shows the result of resuming execution of the ZEX0902N NCL
process to the point where it terminates execution, because no other breakpoints have
been set:
(08:43) --------------------- OPERATOR CONTROL SERVICES ----------------------
DEBUG RESUME
NNM1905 NCL 000581 RESUMED
---| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10+|
1 :
2 :
3 : ********************
4 : **********
5 : ***************
6 :
7 :
8+ :
---| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10+|
NNM1933 NCL 000581 START ZEX0902N PROCESSING COMPLETE
NNM1005 START ZEX0902N PROCESSING COMPLETE. NCLID 000581
_____________________________________________________________________________
---------- ------------------ NonStop NET/MASTER D30 ---------------- --------
M=>
In this example, resuming execution to termination means that, after the whole
histogram is displayed, the debug session terminates.
Stepping Through
Statements and Nesting
Levels
The DEBUG STEP command allows you to continue execution of a currently
suspended NCL process by using single or multiple statements at different nesting
levels. You can step through statements in four ways:
By specifying DEBUG STEP, you can perform a single step through statements at
the current nesting level (the default).
By specifying DEBUG STEP NEXT=IN, you can perform a single step through
statements at the current level or into a nested NCL procedure or function.
By specifying DEBUG STEP NEXT=OUT, you can perform all the steps necessary
to step out of a nested NCL procedure or function.
By specifying DEBUG STEP NEXT=number, you can perform the specified number
of steps through statements at the current nesting level.
The difference between these stepping methods is best illustrated by a series of
examples. Study the DEBUG STEP commands used and the statement numbers at
which execution of the NCL process is suspended in the following examples, and
observe the results.