#include "../types.h"#include "current_stack_frame.h"#include "debugger.h"#include "trace_listener_collection.h"Contains debug definitions.
Go to the source code of this file.
Macros | |
| #define | assert_(...) if (__var_xtd_diagnostics_debug_should_aborted__((__assert_args__){csf_, __VA_ARGS__})) debug_break_() |
| Checks for a condition; if the condition is false, displays a message box that shows the call stack. More... | |
| #define | cassert_(...) assert_(__VA_ARGS__) |
| Checks for a condition; if the condition is false, displays a message box that shows the call stack. More... | |
Typedefs | |
| typedef xtd_diagnostics_trace_listener_collection | xtd_diagnostics_listener_collection |
| Represents a collection of xtd_diagnostics_trace_listener. More... | |
Properties | |
| bool | xtd_diagnostics_debug_get_auto_flush () |
| Gets whether xtd_diagnostics_debug_flush should be called on the xtd_diagnostics_debug_Listeners after every write. More... | |
| void | xtd_diagnostics_debug_set_auto_flush (bool value) |
| Sets whether xtd_diagnostics_debug_flush should be called on the xtd_diagnostics_debug_Listeners after every write. More... | |
| uint32_t | xtd_diagnostics_debug_get_indent_level () |
| Gets the indent level. More... | |
| void | xtd_diagnostics_debug_set_indent_level (uint32_t indent_level) |
| Sets the indent level. More... | |
| uint32_t | xtd_diagnostics_debug_get_indent_size () |
| Gets the number of spaces in an indent. More... | |
| void | xtd_diagnostics_debug_set_indent_size (uint32_t indent_size) |
| Sets the number of spaces in an indent. More... | |
Methods | |
| inline_ void | xtd_diagnostics_debug_write (const char *message, const char *category) |
| Writes a category name and message to the trace listeners in the listeners collection. More... | |
| inline_ void | xtd_diagnostics_debug_write_if (bool condition, const char *message, const char *category) |
| Writes a category name and message to the trace listeners in the Listeners collection if a condition is true. More... | |
| inline_ void | xtd_diagnostics_debug_write_line (const char *message, const char *category) |
| Writes a category name and message followed by a line terminator to the trace listeners in the listeners collection. More... | |
| inline_ void | xtd_diagnostics_debug_write_line_if (bool condition, const char *message, const char *category) |
| Writes a category name and message followed by a line terminator to the trace listeners in the Listeners collection if a condition is true. More... | |
Represents a collection of xtd_diagnostics_trace_listener.