Diagnostic trace functions
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 run-time, the rtxSetDiag function must be invoked with the value argument set to TRUE.
- 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 .
Copyright © Objective Systems 2002-2008 This document may be distributed in any form, electronic or otherwise, provided that it is distributed in its entirety and that the copyright and this notice are included. |
Objective Systems, Inc.55 Dowlin Forge RoadExton, Pennsylvania 19341 http://www.obj-sys.com Phone: (484) 875-9841 Toll-free: (877) 307-6855 (US only) Fax: (484) 875-9830 info@obj-sys.com |