H-Series Application Migration Guide (H06.07+, J06.03+)

The TNS/E Native Development Environment
H-Series Application Migration Guide429855-008
2-15
TNS/E Native Mode Debugging Tools
Using the RUND and RUNV Commands to Select a Debugger
In the TNS/E native environment, the TACL RUN command can be used to run a
process under control of Native Inspect. The equivalent OSS command is run with the
-debug flag. For example:
>RUND GPROG (Guardian)
$run -debug -inspect=on ossprog (OSS)
The RUNV command runs a process under control of Visual Inspect. The equivalent
OSS command is runv. For example:
>RUNV WSADDR=MYPC GPROG (Guardian)
$ runv -wsaddr=MYPC oss prog (OSS)
These commands start a Visual Inspect debug session on the workstation MYPC.
Switching Debuggers During a Debugging Session
The H-series debuggers, Inspect, Native Inspect, and Visual Inspect, allow you to
switch from one debugger to another while debugging a process. This is a new feature
in the H-series RVUs. The ability to switch debuggers can be useful in situations such
as:
A native mode program enters the debug state under control of Inspect or Native
Inspect, but you want to use Visual Inspect instead.
show show
signals ih
source list
step step
next
stop kill
system Not supported
term Not supported
THEN clause condition
time Not supported
trace bt
volume cd
xc Not supported
Table 2-5. Inspect High-Level Commands and Native Inspect
Equivalents (page 3 of 3)
Inspect High-Level
Command Native Inspect Equivalent