DDraceNetwork Docs
|
Macros | |
#define | dbg_assert(test, msg) dbg_assert_imp(__FILE__, __LINE__, test, msg) |
Functions | |
bool | dbg_assert_has_failed () |
void | dbg_break () |
void | dbg_msg (const char *sys, const char *fmt,...) |
Utilities for debugging.
#define dbg_assert | ( | test, | |
msg | |||
) | dbg_assert_imp(__FILE__, __LINE__, test, msg) |
Breaks into the debugger based on a test.
test | Result of the test. |
msg | Message that should be printed if the test fails. |
bool dbg_assert_has_failed | ( | ) |
Checks whether the program is currently shutting down due to a failed assert.
void dbg_break | ( | ) |
void dbg_msg | ( | const char * | sys, |
const char * | fmt, | ||
... | |||
) |
Prints a debug message.
sys | A string that describes what system the message belongs to. |
fmt | A printf styled format string. |