DLL Programmer's Guide for TNS/R Systems
Sample Sessions and Usage Notes
DLL Programmer’s Guide for TNS/R Systems—522203-002
6-15
Notes on Debugging
Public Libraries
PIC programs and DLLs can access hybrid SRLs in HP public libraries. Furthermore, 
any HP products released as public SRLs will be automatically converted to hybrid 
SRLs, as part of installing these public libraries at the customer site; and no change to 
these SRLs is needed. The NonStop Server DLL structure does not allow private 
hybrid SRLs. 
Notes on Debugging
Inspect and Visual Inspect
Inspect does not support debugging of PIC programs, processes or snapshot files. 
Inspect will not be able to debug PIC programs and there are no plans to add this 
capability to Inspect. Furthermore, Inspect will not read a Snapshot file that was 
created from a PIC process; an attempt to load a Snapshot file that was created from a 
PIC process will result in an error and the snapshot file will not be loaded.
 With the release of G06.20 (the DLL release), when a request is made to debug a 
program that is PIC (Position Independent Code), Visual Inspect will be the default 
debugger, not Inspect. If Visual Inspect is not available, DEBUG will be chosen as the 
debugger for the process.
 The G06.20 system includes versions of the Inspect Subsystem (T9226G06) and the 
Visual Inspect server (T9756AAH) that support PIC programs and DLLs. This version 
of the server requires version 2.4 of the Visual Inspect client (T7877AAD).
If you run version 2.3 of the client with a G06.20 system, it will be connected 
automatically to the previous version of the server (T9756AAG), and you will not be 
able to debug or analyze snapshot dumps from a PIC process. 
Unfortunately, version 2.4 of the client is incompatible with earlier versions of the 
server. Therefore, it can be difficult to debug from the same workstation on multiple 
systems, where some run G06.20 and and some run earlier releases. There are two 
ways to approach this problem:
•
Install the newer server on the older systems, along with a compatible version of 
the Inspect Subsystem: You can install Visual Inspect Server SPR T9756AAH 
and Inspect Subsystem SPR T9226AAK on a K-series HP NonStop server running 
D45 or later, or on an S-series HP NonStop server running G05 through G06.19. 
See the T9756AAH softdoc.
•
Install both versions 2.3 and 2.4 of the Visual Inspect Client on the workstation. 
They cannot both run at the same time, and version 2.3 can encounter problems 
after 2.4 has run. See the G06.20 Compendium.
Note that the VI client is “independent” and so must be ordered separately from 
G06.20, and furthermore it is strongly advised that you ensure that you upgrade both 
the client and server products at the same time.










