These functions add diagnostic tracing to the generated code to assist in finding
where a problem might occur. Calls to these macros and functions are added when the
-trace command-line argument is used. The
diagnostic message can be turned on and off at both C compile and run-time. To C compile
the diagnostics in, the _TRACE macro must be defined (-D_TRACE). To turn the diagnostics
on at runtime, the rtxSetDiag
function must be invoked with the
value
argument set to TRUE.
The key functions in this group are as follows:
rtxSetDiag - This function is used to turn diagnostic tracing on or off at run-time.
rtxDiagEnabled - This function is used to determine if diagnostic tracing is currently enabled for the specified context.
rtxDiagHexDump - This function is used to print a diagnostics hex dump of a section of memory.
rtxDiagPrint - This function is used to
print a diagnostics message to stdout
.
For a complete list and full description of all of the diagnostic trace functions, see the XBinder C/C++ Runtime Reference Manual.