Enable Rose Api Tracing - HP A4500A - VMEbus Single Board Computer 744 Motherboard Programmer's Manual

Acse/presentation and rose interface programmer's guide
Hide thumbs Also See for A4500A - VMEbus Single Board Computer 744 Motherboard:
Table of Contents

Advertisement

Table 5-2
ROSE Tracing Types
API_TR_ENTRY_EXIT
API_TR_INPUT
API_TR_OUTPUT
API_TR_INT_ENTRY_EXIT
API_TR_INT_ERROR

Enable ROSE API Tracing

To enable ROSE tracing in your program, add the following statements
to your program:
1. Include the appropriate definitions by adding these lines:
Chapter 5
#include <stdio.h>
#include <api_trace.h>
extern int rose_trace;
extern int rose_trace_max_udata;
extern FILE *rose_trace_fp;
Troubleshooting Your Application
Traces procedure entry and exit. No
parameter information is displayed. This is
useful if you are only interested in seeing
what ROSE calls your program is making.
Note that this trace is automatically
generated if you use API_TR_INPUT,
API_TR_OUTPUT, or
API_TR_INT_ENTRY_EXIT.
Provides traces of ROSE function call input
parameters. This is useful if you want to
verify that ROSE is actually receiving the
values you expect.
Provides traces of ROSE function call
output parameters. This is useful if you
want to verify what values ROSE is passing
back to your program.
Enables internal tracing. Use if directed to
do so by your HP support representative.
Enables external and internal error tracing.
Recommended that users turn this tracing
on at all times. Includes filename and line
number information useful for HP factory
support.
Using ROSE API Tracing
77

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents