Platform SDK: TAPI

How to Enable Debug Tracing/Logging for Derived MSPs

First, make sure that the implementation of the derived MSP has followed the guidelines in the previous section with regard to debug tracing (defining the preprocessor symbol MSPLOG, registering for tracing during DllMain, and using the LOG macro for tracing). Find out what name the MSP uses when registering for tracing (this should usually be the DLL's name; it is referred to below as
"<dll name>"). To enable tracing, use a registry editor ("Regedit.exe" or "Regedt32.exe") to locate the key "HKEY_LOCAL_MACHINE\Software\Microsoft\Tracing" and do the following. Note that all of the values mentioned below, except the EnableDebuggerTracing value, should be created automatically after running your MSP for the first time.