atldebugscan.hAdds a new macro to your
ATLTRACE_INTERFACESmacro takes an
IUnknownCOM object as input and dumps any interface it supports to the debug log.
The code actually scans the entire set of registered interfaces
in the system registry. It calls
QueryInterface() on the object
for each of them! It then matches up the valid interface GUIDs to
a nice PROGID (if available) and dumps it to the debugger.
A similar function can be found in the atlaux library.
atldebugfunc.hAdds indented function level tracing to your
Use the new
ATLTRACEFUNCLOGmacros instead of the old
ATLTRACEto automatically produce logs at function/scope entry and exit.
ATLTRACEFUNC at the very first line of every function.
It will produce an entry and exit trace to the debug log, and it will indent
the log according to the call-level hierarchy.
ATLTRACEFUNCLOG instead of the usual
to keep the same indentation as the logged method has.
Source Code DependenciesMicrosoft ATL Library
|Source Code (3 Kb)|