I've put together a set of macros to make debugging easier. One day I'll learn how to use external debugging software, but until then...
PING(level) | Prints "PING file.line\n". |
MSG(level,...) | Prints the message ... . |
DUMP(level,a,fmt) | Dumps a variable a with a given format fmt. |