HP Superdome SX1000 ACSE/Presentation and ROSE Interface Programmer's Guide - Page 70
Tracing Using Global Variables, Selecting Types of Tracing
View all HP Superdome SX1000 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 70 highlights
Troubleshooting Your Application Using A/P API Tracing AP_TRACE_MAX_UDATA:. The maximum amount of user data (in bytes) that will be displayed when parameters are displayed. Default = 16. Tracing Using Global Variables A/P API tracing is controlled by three global variables. The variables are described below: ap_trace ap_trace_fp ap_trace_max_udata An integer value which constitutes a bitmask to control the level of tracing performed. By default this mask is 0. A pointer to a UNIX file to receive the tracing output. By default this is set to stderr. The maximum amount of user data (in bytes) that will be displayed during tracing. The default is 16. Selecting Types of Tracing The level of A/P tracing is controlled by the ap_trace variable. The ap_trace variable is defined as a bitmask that can be set to particular values (as defined in the file /opt/ots/lib/api_trace.h) and as listed in the following table. For example, if you want to trace output parameters only, you would set ap_trace to API_TR_OUTPUT. 70 Chapter 5