DDraceNetwork Docs
|
Macros | |
#define | dbg_assert(test, fmt, ...) |
Functions | |
void | dbg_assert_imp (const char *filename, int line, const char *fmt,...) |
bool | dbg_assert_has_failed () |
void | dbg_break () |
void | dbg_msg (const char *sys, const char *fmt,...) |
Utilities for debugging.
#define dbg_assert | ( | test, | |
fmt, | |||
... | |||
) |
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_assert_imp | ( | const char * | filename, |
int | line, | ||
const char * | fmt, | ||
... | |||
) |
Use dbg_assert instead!
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. |