다음을 통해 공유


Debugging and Error Reporting Macros

These macros provide useful debugging and trace facilities.

_ATL_DEBUG_INTERFACES

Writes, to the output window, any interface leaks that are detected when _Module.Term is called.

_ATL_DEBUG_QI

Writes all calls to QueryInterface to the output window.

ATLASSERT

Performs the same functionality as the _ASSERTE macro found in the C run-time library.

ATLENSURE

Performs parameters validation. Call AtlThrow if needed

ATLTRACENOTIMPL

Sends a message to the dump device that the specified function is not implemented.

ATLTRACE

Reports warnings to an output device, such as the debugger window, according to the indicated flags and levels. Included for backward compatibility.

ATLTRACE2

Reports warnings to an output device, such as the debugger window, according to the indicated flags and levels.

See Also

Concepts

ATL Macros

Debugging and Error Reporting Global Functions