NET/MASTER Network Control Language (NCL) Programmer's Guide
Displaying Decompiled Source Code
Debugging an NCL Process
9–34 106160 Tandem Computers Incorporated
Displaying the Statement at Which Execution Is Currently Suspended
To display the current statement, use the DEBUG SOURCE command with no
operands, as the following screen shows:
(14:45) --------------------- OPERATOR CONTROL SERVICES ----------------------
START ZEX0902N THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG
NNM1060 PROCEDURE ZEX0902N NCLID 1066 PAUSED
DEBUG START ID=1066
NNM1901 NCL 001066 DEBUG SESSION INITIATED
NNM1902 NCL 001066 SUSPENDED AT ZEX0902N.8 LINE 22
GO ID=1066 Y
DEBUG SOURCE
NNM1926 NCL 001066 LINE# SMT EV ON STMT-TEXT FROM ZEX0902N
NNM1927 NCL 001066 22 8 0 0 PAUSE VARS=( &PAUSE )
NNM0999 *END*
_____________________________________________________________________________
---------- ------------------ 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 SOURCE command displays the statement at which
execution is currently suspended—this is statement 8, the PAUSE statement.