1 /////////////////////////////////////////////////////////////////////////////
10 #define BreakPoint() _asm { int 3h }
12 #define BreakPoint() _DebugBreak()
19 Assert(#exp, __FILE__, __LINE__, NULL); \
24 #define ASSERTMSG(msg, exp) \
27 Assert(#exp, __FILE__, __LINE__, msg); \
33 //=============================================================================
35 //=============================================================================
42 //=============================================================================
43 // Define away MACRO's ASSERT() and TRACE() in non debug builds
44 //=============================================================================
48 #define ASSERTMSG(msg, exp)
51 #define TRACE 0 ? (void)0 : Trace
56 void Assert(void* assert, TCHAR
* file
, int line
, void* msg
);
57 void Trace(TCHAR
* lpszFormat
, ...);
61 /////////////////////////////////////////////////////////////////////////////