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

The TNS/E Native Development Environment
H-Series Application Migration Guide429855-008
2-11
TNS/E Native Mode Debugging Tools
Visual Inspect
Visual Inspect is an application debugging tool in the TNS/E native environment. The
H-series version of Visual Inspect debugger includes the same functionality as the G-
series version. Visual Inspect supports high-level symbolic debugging of native and
TNS processes (interpreted and accelerated) through a PC-based graphical user
interface. Processes being debugged run on the NonStop server, but all debugging
tasks are performed through the Visual Inspect client running on a PC.
Visual Inspect can also be used for debugging TNS, TNS/R, and TNS/E snapshot files.
For TNS/E native mode debugging, you can invoke Visual Inspect from within ETK.
You can use Visual Inspect to debug programs created by the PC cross-compilers (C,
C++, COBOL, and pTAL). Also NSDEE Core with Debugging also includes a
separately installed integrated debugger, Native Inspect, that you can use to debug
TNS/E processes.
The H-series Visual Inspect facility has been enhanced for machine-level debugging.
You can now perform low-level debugging tasks from the PC that needed to be done in
previous RVUs on the NonStop server using Debug or Inspect. The following machine-
level features are supported:
Set instruction breakpoints
Display instruction code
Step by instruction
Display and modify data using a numeric (non-symbolic) address
Modify, format, and monitor registers
Display and format data buffers as SPI or EMS buffers
These capabilities enable you to perform low-level debugging tasks that formerly
needed to be done on the NonStop server using Debug or Inspect.
When migrating to H-series, upgrading to the latest Visual Inspect client is optional.
However, to get the full benefit of the features and performance of the H-series Visual
Inspect servers, you must upgrade to the latest Visual Inspect client version.
See the Visual Inspect online help for more information on Visual Inspect. In particular,
to ease migration from Inspect to Visual Inspect, the Visual Inspect online help
provides a mapping of Inspect commands to Visual Inspect commands.
Native Inspect
Native Inspect is a command-line symbolic debugging tool that can be used for
debugging TNS/E native processes and snapshot files. It can be used for source
statement level debugging as well as machine-level debugging. Native Inspect
supports debugging of C/C++, pTAL, and COBOL programs. Native Inspect is intended
as a replacement for the G-series Debug facility and the G-series Inspect debugger for
native mode debugging. The command name for Native Inspect is eInspect.
NSDEE Core with Debugging integrates Native Inspect, allowing you to use the
graphical user interface provided by NDEE to debug TNS/E programs and processes.