#include <cel_debug.h>
Static Public Member Functions | |
static void | assertion_failed (bool f, const char *description, const char *filename, long line, const char *funcname) |
static void | set_dbgenv () |
static bool | writeLog (const char *message) |
static void | showBackTrace () |
This structure provides the functions related to debug.
|
static |
This function is internally used in CEL_ASSERT, and usually not to be used directly.
|
static |
This function initializes the debugging environment if the module is debug version.
|
static |
This function shows stack trace of the current calling function.
If the program does not contain debugging information, the trace may be incomplete.
|
static |
This function writes the debugging log into a log file if _PXLL_DEBUG_FILE environment value specifies a valid file name.
message | The message to be written. The string will be directly written into the file without any charcode conversion. |
true
if the message is correctly written out to the log file.