Internal Tracing

Microsoft® SNA Server provides internal tracing macros that can be built into an application. These can be used to check the operation of the application during development. Compile-time options determine whether or not this tracing is included in object code; it should be compiled out when producing end-user products. Internal tracing must be initialized before any TRACEnn macro calls are issued. This initialization is performed by initializing the DMOD (dynamic access module) through the sbpuinit call. Internal Tracing Macros and Controlling Internal Tracing describe the use of the tracing macros within application source code and the methods of controlling trace output using compile-time and run-time options.