Native Inspect Manual (H06.13+, J06.03+)

1 Introducing Native Inspect
Native Inspect on TNS/E Systems
Native Inspect is a system-level command-line symbolic debugger that you use to debug TNS/E
native processes and snapshot files. Native Inspect runs only on a NonStop TNS/E host system
(not on a TNS/R or TNS system).
You can use Native Inspect to do the following tasks:
To debug TNS/E native programs or snapshot files written in TNS/E native C/C++, pTAL, or
TNS/E native COBOL, especially when Visual Inspect is not available
To use a Tool Command Language (Tcl) script for automating debugging operations on TNS/E
native debugging targets
To perform privileged or global debugging on TNS/E native programs
Debuggers on NonStop TNS/E Systems
TNS/R systems support two command-line debuggers: Debug and Inspect. On a TNS/E system,
Native Inspect replaces both Debug and Inspect. Debug does not exist on TNS/E systems. Inspect
is present on TNS/E systems, but you can use it only to debug emulated TNS processes. You
cannot use Inspect to debug native TNS/E processes and snapshot files. Table 4 summarizes the
debugger availability by system type.
Table 4 Debugger Availability by System Type
Visual InspectNative InspectInspectDebugSystem
NoNoYesYesTNS/R
Yes
1
YesEmulatedNoTNS/E
1
Requires a Windows workstation.
Table 5 provides usage scenarios for Native Inspect, Visual Inspect, and Inspect on a TNS/E
system. For each debugger, symbolic debugging is available for code optimized at level 0 or 1,
and debugging support is limited for code optimized at level 2.
Table 5 Using Debugging Options on TNS/E Systems
Languages SupportedType or State You Can DebugIDDebugger to Use
TNS/E native C/C++TNS/E native processes (executing in the
same CPU).
T1237Native Inspect on
NonStop TNS/E systems.
TNS/E native COBOLSnapshot files that save the state of TNS/E
native processes.
pTAL
TNS/E native C/C++TNS/E native processes.T7877,
T9756,
Visual Inspect on
Windows.
1
TNS/E native COBOLTNS/E and TNS/R native snapshot files.
T9226,
T9673.
pTALEmulated TNS processes.
TNS FortranEmulated TNS processes on TNS/E systems
(either accelerated with OCA or interpreted
with OCI).
T9673Inspect on NonStop
TNS/E.
TNS COBOLSnapshot files of all processes (TNS/R native,
TNS/E native and nonnative).
TAL
TNS C/C++
Screen COBOL
Native Inspect on TNS/E Systems 15