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

Starting Multiple Debug Sessions
Debugging an NCL Process
106160 Tandem Computers Incorporated 9–31
To start multiple debugging sessions, follow these steps:
1. Execute one or more NCL procedures to debug a specific NCL process or currently
executing NCL processes in a debug session.
2. Use the DEBUG START command, with the appropriate operands, to start a single
debug session. Then, repeat the DEBUG START command, with the appropriate
operands, to start other debug sessions.
3. Execute one or more NCL procedures to debug newly executed NCL processes in
a debug session.
4. Debug an NCL process by following these steps:
a. Use the SHOW NCL=ALL command or the SHOW NCL=user-id to determine
the unique NCL ID of the NCL process you want to debug first.
b. If the default NCL ID is not set for the process you want to debug, use the
DEBUG SET ID=ncl-id command or another DEBUG command that specifies
an NCL ID to set an NCL process as the current NCL process.
c. Debug the current NCL process using other DEBUG commands.
5. Follow Step 4 to switch from one debug session to another debug session. (You
switch from one debug session to another by switching from the current NCL ID
to another NCL ID.)
6. Terminate the debug session by using one of the following commands:
The DEBUG STOP ID=ncl-id command to terminate the execution of a specific
NCL process.
The DEBUG STOP ALL command to terminate execution of all NCL processes
being debugged in all debug sessions.