NET/MASTER Network Control Language (NCL) Programmer's Guide
Using Breakpoints to Suspend Execution
Debugging an NCL Process
106160 Tandem Computers Incorporated 9–45
The following screen sets five breakpoints:
(08:36) --------------------- OPERATOR CONTROL SERVICES ----------------------
START ZEX0902N THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG
NNM1060 PROCEDURE ZEX0902N NCLID 579 PAUSED
DEBUG START ID=579
NNM1901 NCL 000579 DEBUG SESSION INITIATED
NNM1902 NCL 000579 SUSPENDED AT ZEX0902N.8 LINE 22
GO ID=579 Y
DEB B S=16 S=ZEX0902N.LEFT_TITLE.1 PROC=EXIT V=LINE TY=W T
NNM1909 NCL 000579 BREAKPOINT 1 CREATED
NNM1909 NCL 000579 BREAKPOINT 2 CREATED
NNM1909 NCL 000579 BREAKPOINT 3 CREATED
NNM1909 NCL 000579 BREAKPOINT 4 CREATED
NNM1909 NCL 000579 BREAKPOINT 5 CREATED
_____________________________________________________________________________
---------- ------------------ NonStop NET/MASTER D30 ---------------- --------
PM=>
In this example, the ZEX0902N NCL procedure is executed. The DEBUG START
command starts a debug session. The GO command resumes execution of the paused
NCL process. The DEBUG BREAKPOINT command sets a breakpoint at the following
positions: statement 16 in the top-level procedure; statement 1 of the LEFT_TITLE
function; the exit to every procedure or function; the variable &LINE for write access;
and at the termination point of the NCL process.