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

Displaying and Modifying Variables
Debugging an NCL Process
9–48 106160 Tandem Computers Incorporated
Displaying and
Modifying Variables
When execution of an NCL process is suspended, you can display and modify the
values of variables, using the DEBUG DISPLAY and DEBUG MODIFY commands.
Note When displaying or modifying a variable, you must omit the leading ampersand (&) from the variable
name.
The examples in this subsection assume you have executed the commands in the
following screen:
(10:04) --------------------- OPERATOR CONTROL SERVICES ----------------------
START ZEX0902N THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG
|NM1060 PROCEDURE ZEX0902N NCLID 6 PAUSED
DEBUG START ID=6
NNM1901 NCL 000006 DEBUG SESSION INITIATED
NNM1902 NCL 000006 SUSPENDED AT ZEX0902N.8 LINE 22
GO ID=6 Y
DEBUG BREAKPOINT T
NNM1909 NCL 000006 BREAKPOINT 1 CREATED
DEBUG RESUME
NNM1905 NCL 000006 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+|
NNM1902 NCL 000006 SUSPENDED AT ZEX0902N.21 BP 1 LINE 39
---------- ------------------ NonStop NET/MASTER D30 ---------------- --------
M=>
These commands start a debug session for the ZEX0902N NCL process and suspend
execution at the termination point of the NCL process.