DEBUG_THREAD
system_time(), DEBUG_THREAD); \
system_time(), DEBUG_THREAD, __PRETTY_FUNCTION__); \
system_time(), DEBUG_THREAD, __PRETTY_FUNCTION__, __LINE__); \
DEBUG_THREAD, __FUNCTION__, __LINE__); x; dbg_printf_end(); }
B_PRIdBIGTIME ": %5" B_PRId32 "] ", system_time(), DEBUG_THREAD); \
system_time(), DEBUG_THREAD, __FUNCTION__); x; dbg_printf_end(); }
DEBUG_THREAD); \
system_time(), DEBUG_THREAD, __PRETTY_FUNCTION__); \
system_time(), DEBUG_THREAD, __PRETTY_FUNCTION__, __LINE__); \
__out(DEBUG_APP ": [%" B_PRIdBIGTIME ": %5" B_PRId32 "] ", system_time(), DEBUG_THREAD); \
__out(DEBUG_APP ": [%" B_PRIdBIGTIME ": %5" B_PRId32 "] %s" prefix, system_time(), DEBUG_THREAD, \
__out(DEBUG_APP ": [%" B_PRIdBIGTIME ": %5" B_PRId32 "] %s:%d: ", system_time(), DEBUG_THREAD, \
#define DEBUG_CONTEXT(x) { dbg_printf_begin(); __out(DEBUG_APP ": [%lld: %5ld] ", system_time(), DEBUG_THREAD); x; dbg_printf_end(); }
#define DEBUG_CONTEXT_FUNCTION(prefix, x) { dbg_printf_begin(); __out(DEBUG_APP ": [%lld: %5ld] %s()" prefix, system_time(), DEBUG_THREAD, __FUNCTION__); x; dbg_printf_end(); }
#define DEBUG_CONTEXT_LINE(x) { dbg_printf_begin(); __out(DEBUG_APP ": [%lld: %5ld] %s():%d: ", system_time(), DEBUG_THREAD, __FUNCTION__, __LINE__); x; dbg_printf_end(); }
system_time(), DEBUG_THREAD); \
system_time(), DEBUG_THREAD,__PRETTY_FUNCTION__); \
system_time(), DEBUG_THREAD, __PRETTY_FUNCTION__, __LINE__); \