45void _trace(
const char *p_File,
46 const unsigned int p_Line,
47 const char *p_CompilDate,
48 const char *p_CompilTime,
const char *p_Function);
64 const unsigned int p_Line,
65 const char *p_CompilDate,
66 const char *p_CompilTime,
67 const char *p_Function,
const char *p_Message);
84 const unsigned int p_Line,
85 const char *p_CompilDate,
86 const char *p_CompilTime,
87 const char *p_Function,
const char *p_Format, ...
104#define ASSERT(condition) \
105 if (!(condition)) { \
106 _trace_dynmsg(__FILE__,__LINE__, __DATE__, __TIME__, __func__,"Assertion failed (%s)" , #condition); \
110#define ASSERT(condition)
120 _trace(__FILE__,__LINE__, __DATE__, __TIME__, __func__)
131#define DBG_MSG(msg) \
132 _trace_msg(__FILE__,__LINE__, __DATE__, __TIME__, __func__,msg)
143#define DBG_ITRACE(inst) \
144 _trace_msg(__FILE__,__LINE__, __DATE__, __TIME__, __func__,#inst), \
147#define DBG_ITRACE(inst) inst
156#define DBG_PRINTF(p_Format, ...) \
157 _trace_dynmsg(__FILE__,__LINE__, __DATE__, __TIME__, __func__, p_Format, __VA_ARGS__)
159#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)