Darran Shepherd
/
Bonjour
First step: AutoIP compiled in and working
Diff: dbg/dbg.h
- Revision:
- 1:4218cacaf696
- Parent:
- 0:55a05330f8cc
--- a/dbg/dbg.h Fri Jun 18 09:11:35 2010 +0000 +++ b/dbg/dbg.h Fri Jun 18 15:54:21 2010 +0000 @@ -39,21 +39,26 @@ public: static void debug(const char* format, ...); static void release(); +static void breakPoint(const char* file, int line); private: }; #undef DBG #undef DBG_END +#undef BREAK #define DBG DebugStream::debug #define DBG_END DebugStream::release +#define BREAK() DebugStream::breakPoint(__FILE__, __LINE__) #endif #else #undef DBG #undef DBG_END +#undef BREAK #define DBG(...) #define DBG_END() +#define BREAK() #endif #ifdef __LWIP_DEBUG