Inspect Manual
High-Level Inspect Commands
Inspect Manual—429164-006
6-165
SELECT DEBUGGER DEBUG
SELECT DEBUGGER DEBUG
The SELECT DEBUGGER DEBUG command allows you to invoke an alternate
debugger:
On a TNS/R system, Debug is the alternate debugger for TNS or TNS/R programs.
You interact with Debug until issuing the Debug command “INSPECT”, which
returns control of the program to Inspect.
On a TNS/E system, Native Inspect is the alternate debugger for TNS/E native
programs (Native Inspect replaces Debug as the system debugger on TNS/E
systems). You interact with Native Inspect until you issue the Native Inspect switch
command, which returns control of the program to Inspect.
TNS programs running on a TNS/E system can only be debugged using Inspect.
General Usage Considerations
When you return to Inspect from Debug, the Inspect breakpoint list is updated to
reflect breakpoints that have been set in Debug.
If the addition of breakpoints to the Inspect breakpoint list would cause the number
of breakpoints to exceed the Inspect limit on numbered breakpoints (99),
breakpoints that are added are not assigned an ordinal number.
Debug can only be invoked on a process or PATHWAY server that is in the HOLD
state.
Conditional breakpoints set by Inspect are reported unconditionally while in Debug.
Conditional breakpoints set by Debug are always evaluated conditionally,
regardless of whether Inspect or Debug is being used.
When Debug is invoked from within Inspect and the process terminates, control
returns to Inspect. Inspect terminates if there are no other processes being
debugged; otherwise, Inspect resets the current program and issues a prompt.
When Debug is invoked from an Inspect being used to debug multiple processes,
Inspect waits either for a debugging event to be reported for another process or for
the control to return from Debug. If an event is received, Inspect reports the event
and issues a prompt. This may cause Inspect and Debug to compete for control of
the terminal. The Inspect PAUSE and Debug P commands can be useful in this
case.
If Inspect is used to set breakpoints on STOP and/or ABEND, the breakpoints are
reported by Inspect, even if the process calls STOP and/or ABEND while Debug is
being used to debug it.
SELECT DEBUGGER DEBUG