| Top |
Debug logging and tracingDebug logging and tracing — tracing and debug facilities for Builder and plugins |
| #define | IDE_TRACE_MSG() |
| #define | IDE_TODO() |
| #define | IDE_GOTO() |
| #define | IDE_RETURN() |
| #define | IDE_BUG() |
| #define | IDE_ENABLE_TRACE |
| #define | IDE_LOG_LEVEL_TRACE |
| #define | IDE_PROBE |
| #define | IDE_ENTRY |
| #define | IDE_EXIT |
| #define | IDE_BACKTRACE |
The debug macros such as IDE_ENTRY, IDE_EXIT, and IDE_RETURN provide
helpers for tracing Builder and plugins at runtime.
These tracing macros will compile out when Builder is configured for a release build. Otherwise, running Builder with the "-vvvv" command line argument will show tracing output.
#define IDE_TRACE_MSG(fmt, ...)
Similar to IDE_PROBE but allows specifying a log message.
Since: 3.18
#define IDE_TODO(_msg)
Appends to the tracing log that unsupported code has been reached.
Since: 3.18
#define IDE_GOTO(_l)
Appends to the jump to label to the tracing log and then jumps
to the label _l
.
Since: 3.18
#define IDE_RETURN(_r)
Similar to IDE_EXIT but allows providing a return value.
Since: 3.18
#define IDE_ENTRY
Traces the entry into a function. Place this at the beginning of your function above pre-condition checks.
Since: 3.18
#define IDE_EXIT
Traces the exit from a function. Use this instead of "return" to return and log the function exiting.
Since: 3.18