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
, ...);
54 #define ASSERTMSG(exp, msg)
57 void Assert(void* assert, TCHAR
* file
, int line
, void* msg
);
58 void Trace(TCHAR
* lpszFormat
, ...);
63 /////////////////////////////////////////////////////////////////////////////