All needed for debugging and tracing.
Classes | |
| class | xtd::diagnostics::console_trace_listener |
| Directs tracing or debugging output to either the standard output or the standard error stream. More... | |
| class | xtd::diagnostics::debug |
| Provides a set of methods and properties that help you debug the execution of your code. This class cannot be inherited. More... | |
| class | xtd::diagnostics::debugger |
| Enables communication with a debugger. This class cannot be inherited. More... | |
| class | xtd::diagnostics::default_trace_listener |
| Provides the default output methods and behavior for tracing. More... | |
| class | xtd::diagnostics::ostream_trace_listener |
| Directs tracing or debugging output to a std::ostream, such as std::fstream, std::stream... More... | |
| class | xtd::diagnostics::source_location |
The xtd::diagnostics::source_location class represents certain information about the source code, such as file names, line numbers, and function names. Previously, functions that desire to obtain this information about the call site (for logging, testing, or debugging purposes) must use macros so that predefined macros like __LINE__ and __FILE__ are expanded in the context of the caller. The xtd::diagnostics::source_location class provides a better alternative. More... | |
| class | xtd::diagnostics::stack_frame |
| Provides information about a xtd::diagnostics::stack_frame, which represents a function call on the call stack for the current thread. More... | |
| class | xtd::diagnostics::stack_trace |
| Represents a stack trace, which is an ordered collection of one or more stack frames. More... | |
| class | xtd::diagnostics::trace |
| Provides a set of methods and properties that help you debug the execution of your code. This class cannot be inherited. More... | |
| class | xtd::forms::control_trace_listener |
| Directs tracing or debugging output to a icontrol_trace object. More... | |
| class | xtd::forms::debug_form |
| Represents a form that displays debug form. This class cannot be inherited. More... | |
| class | xtd::forms::debug_message_box |
| Displays a dialog box and write debug. More... | |
| class | xtd::forms::debug_message_dialog |
| Displays a message window and write debug, which presents a debug message to the user. More... | |
| class | xtd::forms::enable_debug |
| Represent enable debug class. More... | |
| class | xtd::forms::trace_form |
| Represents a form that displays trace form. This class cannot be inherited. More... | |
| class | xtd::forms::trace_form_base |
| Represents a base form for debug_form and trace_form forms. This class cannot be instantiated. More... | |
| class | xtd::forms::trace_message_box |
| Displays a dialog box and write trace. More... | |
| class | xtd::forms::trace_message_dialog |
| Displays a message window and write debug, which presents a debug message to the user. More... | |
Macros | |
| #define | assert_(...) |
Checks for a condition; if the condition is false, displays a message box that shows the call stack. | |
| #define | debug_break_() |
| Signals a breakpoint to an attached debugger. | |
Variables | |
| xtd::debugstreambuf | xtd::cdebugstreambuf |
| A xtd::debugstreambuf variable used by xtd::cdebug ostream. | |
| xtd::tracestreambuf | xtd::ctracestreambuf |
| A xtd::tracestreambuf variable used by xtd::ctrace ostream. | |
| #define assert_ | ( | ... | ) |
#include <xtd.core/include/xtd/diagnostics/assert.hpp>
Checks for a condition; if the condition is false, displays a message box that shows the call stack.
| condition | The conditional expression to evaluate. If the condition is true, a failure message is not sent and the message box is not displayed. |
| message | (optional) The brief message to send to the xtd::diagnostics::debug::listeners collection. |
| detail_message | (optional) The detail message to send to the xtd::diagnostics::debug::listeners collection. |
| #define debug_break_ | ( | ) |
#include <xtd.core/include/xtd/diagnostics/debug_break.hpp>
Signals a breakpoint to an attached debugger.
|
inline |
#include <xtd.core/include/xtd/cdebug.hpp>
A xtd::debugstreambuf variable used by xtd::cdebug ostream.
Provides an std::ostream for xtd::diagnostics::debug.
|
inline |
#include <xtd.core/include/xtd/ctrace.hpp>
A xtd::tracestreambuf variable used by xtd::ctrace ostream.
Provides an std::ostream for xtd::diagnostics::trace.