HTTP Client library
Dependents: weather_LCD_display News_LCD_display TwitterExample_1 GeoLocation_LCD_Display ... more
Diff: LPC1768/dbg/dbg.h
- Revision:
- 1:ffc6159cc5d5
- Parent:
- 0:a828ace1f38d
- Child:
- 4:76ca2a4fa528
--- a/LPC1768/dbg/dbg.h Fri Jun 11 16:25:51 2010 +0000 +++ b/LPC1768/dbg/dbg.h Fri Jun 18 09:20:45 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