Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of NTPClient_NetServices by
Diff: LPC1768/dbg/dbg.h
- Revision:
- 1:1f436e56925f
- Parent:
- 0:de37f60b4d0f
- Child:
- 3:1849420bb9a9
diff -r de37f60b4d0f -r 1f436e56925f LPC1768/dbg/dbg.h --- a/LPC1768/dbg/dbg.h Fri Jun 11 16:27:11 2010 +0000 +++ b/LPC1768/dbg/dbg.h Fri Jun 18 09:21:27 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