#define DEBUG_BREAK(a)\\ if ((a)) \\ {\\ __asm int 3;\\ }
I have defined a macro as above, and try to use it
#include \"test_d
Rewrite it as an inline function:
inline void DEBUG_BREAK(bool b) { if (b) { __asm int 3 } }
You may want to replace __asm int 3 with DebugBreak(), as that is the official MS function to do this.
__asm int 3
DebugBreak()