44void _trace(
const char *p_File,
45 const unsigned int p_Line,
46 const char *p_CompilDate,
47 const char *p_CompilTime,
const char *p_Function);
63 const unsigned int p_Line,
64 const char *p_CompilDate,
65 const char *p_CompilTime,
66 const char *p_Function,
const char *p_Message);
83 const unsigned int p_Line,
84 const char *p_CompilDate,
85 const char *p_CompilTime,
86 const char *p_Function,
const char *p_Format, ...
103#define ASSERT(condition) \
104 if (!(condition)) { \
105 _trace_dynmsg(__FILE__,__LINE__, __DATE__, __TIME__, __func__,"Assertion failed (%s)" , #condition); \
109#define ASSERT(condition)
119 _trace(__FILE__,__LINE__, __DATE__, __TIME__, __func__)
130#define DBG_MSG(msg) \
131 _trace_msg(__FILE__,__LINE__, __DATE__, __TIME__, __func__,msg)
142#define DBG_ITRACE(inst) \
143 _trace_msg(__FILE__,__LINE__, __DATE__, __TIME__, __func__,#inst), \
146#define DBG_ITRACE(inst) inst
155#define DBG_PRINTF(p_Format, ...) \
156 _trace_dynmsg(__FILE__,__LINE__, __DATE__, __TIME__, __func__, p_Format, __VA_ARGS__)
158#define DBG_PRINTF(p_Format, ...)
void _trace_dynmsg(const char *p_File, const unsigned int p_Line, const char *p_CompilDate, const char *p_CompilTime, const char *p_Function, const char *p_Format,...)
Print a debug trace (checkpoint) with a formatted message.
void _trace_msg(const char *p_File, const unsigned int p_Line, const char *p_CompilDate, const char *p_CompilTime, const char *p_Function, const char *p_Message)
Print a debug trace (checkpoint) with a static message.
void _trace(const char *p_File, const unsigned int p_Line, const char *p_CompilDate, const char *p_CompilTime, const char *p_Function)
Print a debug trace (checkpoint)