1 /////////////////////////////////////////////////////////////////////////////
8 //=============================================================================
10 //=============================================================================
13 #define BreakPoint() _asm { int 3h }
15 #define BreakPoint() _DebugBreak()
18 //=============================================================================
20 //=============================================================================
27 Assert(#exp, __FILE__, __LINE__, NULL); \
32 #define ASSERTMSG(exp, msg) \
36 Assert(#exp, __FILE__, __LINE__, msg); \
42 //=============================================================================
44 //=============================================================================
46 void Assert(void* assert, TCHAR* file, int line, void* msg);
47 void Trace(TCHAR* lpszFormat, ...);
48 void Trace1(int code, TCHAR* lpszFormat, ...);
57 #define ASSERTMSG(exp, msg)
60 //#define TRACE0 TRACE
61 //#define TRACE1 TRACE
63 void Assert(void* assert, TCHAR* file, int line, void* msg);
64 void Trace(TCHAR* lpszFormat, ...);
66 #define TRACE 0 ? (void)0 : Trace
72 /////////////////////////////////////////////////////////////////////////////