Native Inspect Manual (H06.07+)
Introducing Native Inspect
Native Inspect Manual—528122-006
1-15
Using a Separate Instance of Native Inspect for
Each Process
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.
Example of Using Multiple Instances of Native Inspect
You are running Native Inspect in CPU 3 and are debugging the process
$DISK1.MYSUBVOL.MYPROG (CPU,pin=3,301). A second debugging target named
$DISK2.SVOL2.YOURPROG (CPU,pin=3,32) is assigned to your instance of Native
Inspect.
After a debugging event is reported for the new current process, the command prompt
indicates that the current process has changed:
(eInspect 3,301):
< debugging event is reported here >
(eInspect 3,32):
To have a separate Native Inspect instance for each process being debugged, you
need to attach the new process (3,32) to a new Native Inspect instance, and then
detach the process from the original Native Inspect instance:
1. Start a second Native Inspect instance in a different terminal session but running
on the same CPU:
TACL > einspect / cpu 3/
(eInspect 3,-2):
2. Using this new Native Inspect instance, enter an attach command, specifying the
process ID of the process you want to transfer:
(eInspect 3,-2): attach 32
The attach command does not complete until you perform the final step (detach).
3. Using the original Native Inspect instance, enter the detach command, which
releases the new process to the attaching Native Inspect instance and allows the
original process back to its original instance of Native Inspect:
(eInspect 3,32): detach










