SQL Client with VodafoneUSBModem
Fork of MySQLClient by
Diff: LPC1768/dbg/dbg.h
- Revision:
- 3:f8f7e3785d9b
- Parent:
- 1:c3a3a0aa03ec
- Child:
- 5:91c24a06d12c
diff -r 68ece456776d -r f8f7e3785d9b LPC1768/dbg/dbg.h --- a/LPC1768/dbg/dbg.h Fri Jun 18 09:36:02 2010 +0000 +++ b/LPC1768/dbg/dbg.h Fri Jul 09 14:46:40 2010 +0000 @@ -47,7 +47,7 @@ #undef DBG #undef DBG_END #undef BREAK -#define DBG DebugStream::debug +#define DBG(...) do{ DebugStream::debug("[%s:%s@%d] ", __FILE__, __FUNCTION__, __LINE__); DebugStream::debug(__VA_ARGS__); } while(0); #define DBG_END DebugStream::release #define BREAK() DebugStream::breakPoint(__FILE__, __LINE__) #endif