다음을 통해 공유


TRACE

Sends the specified string to the debugger of the current application.

TRACE(exp ) 
TRACE(DWORD category, UINT level, LPCSTR lpszFormat, ... )

설명

See ATLTRACE2 for a description of TRACE. TRACE and ATLTRACE2 have the same behavior.

In the debug version of MFC, this macro sends the specified string to the debugger of the current application. In a release build, this macro compiles to nothing (no code is generated at all).

For more information, see Debugging MFC Applications.

요구 사항

Header: afx.h

참고 항목

참조

AfxDump(MFC)

개념

MFC 매크로 및 전역