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:


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