Export (0) Print
Expand All

How do I debug tracing failures?

To debug problems with your trace-instrumented driver, such as trace messages that are not showing up in trace log files, even when the provider is enabled, add a WppDebug macro definition to your source code.

WppDebug enables code designed to debug WPP. It traces actions such as registration and enable/disable activity.

Any WppDebug definition directive will work. For example:


#define WppDebug(a,b) printf b, printf("\n");

To call the routine, use the following format:


WppDebug(level,(format,...));

Do not confuse the WppDebug macro, which traces WPP actions, with the WPP_DEBUG macro, which sends trace messages to a debugger.

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft