Native Inspect Manual (H06.03+)

Table Of Contents
Introducing Native Inspect
Native Inspect Manual528122-003
1-14
Native Inspect Informs You of Additional Processes
Native Inspect Informs You of Additional Processes
Native Inspect informs you that it has control of another debugging target after you do
one of the following:
Enter a process-control command (which causes Native Inspect to wait for events),
such as the continue command, finish command, next command, nexti command,
step command, stepi command, and until command.
Enter the wait command.
Press the Break key.
In this case, when you use Native Inspect to debug multiple processes, the current
process is the one for which the most recent debugging event has been reported.
Using a Separate Instance of Native Inspect for Each Process
If you have two processes under the control of one instance of Native Inspect, you can
transfer one of the processes to another instance of Native Inspect as follows:
1. Start a new Native Inspect instance on a different terminal session, specifying the
same CPU as the original instance of Native Inspect:
Each OutsideView or TelNet terminal session is a different “home terminal.”
However, you can transfer a process to a Native Inspect instance on a different
terminal session as long as the new instance of Native Inspect is running in the
same CPU and under the same user ID.
Remember that while you are debugging this second process on a different
terminal session, the home terminal for the process itself remains unchanged, and
the process might attempt to prompt or output to its home terminal, causing more
contention. Because of this potential problem, use Visual Inspect as the preferred
debugger for multiprocess debugging.
2. Transfer the current process to the new Native Inspect instance:
a. From the new Native Inspect instance, enter the attach command.
b. From the original Native Inspect instance, release the current process (the
newer debugging target) by entering the detach command.
TACL> status *, term
Process Pri PFR %WT Userid Program file Hometerm
$Z160 3,301 123 R 000 8,12 $SYSTEM.SYS00.EINSPECT $ZP1.#PHF
TACL> einspect /cpu 3/