a

Fork of HTTPServer by Donatien Garnier

Revision:
5:d45c35d26466
Parent:
2:356c7fa399ae
Child:
6:d753966e4d97
diff -r 3fe9df8782b1 -r d45c35d26466 LPC1768/dbg/dbg.h
--- a/LPC1768/dbg/dbg.h	Fri Jun 18 09:47:59 2010 +0000
+++ b/LPC1768/dbg/dbg.h	Fri Jul 09 14:45:18 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