Table of contents
TOC
Collapse the table of content
Expand the table of content

How do I debug tracing failures?

Last Updated: 1/24/2017

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

© 2017 Microsoft