Ok, this is a drivers-only group, but I’ll ask anyway.
There’s been a lot of talk lately about using WPP for tracing in a driver.
One of the benefits is the macro preprocessing that can convert your old
calls to MyFavoriteDebugPrint(Level, Msg, …) into the appropriate WMI
calls, with message text stored in the .pdb file for later extraction.
Well, this seems like a useful thing to do for my user-mode code as well.
There are enough tantalizing bits there to make it seem possible. However,
the tracewpp.exe program is poorly documented, and it’s certainly true that
not all the options are documented.
Has anyone tried using the WPP facility to help with tracing user-mode code?
In W2K? (I’m too lazy to convert 1000s of lines of code to use WMI
primitives.) If so, an tips or pointers would be appreciated.
Carl Appellof
.