8#include "../core_export.h"
10#include "../ustring.h"
15#define __std_abort__ __debugbreak
17#define __std_abort__ std::abort
24 namespace diagnostics {
78#define debug_break_() \
79 if (xtd::diagnostics::debugger::launch()) __debugbreak()
91#define debug_break_() \
92 if (xtd::diagnostics::debugger::launch()) std::abort()
Enables communication with a debugger. This class cannot be inherited.
Definition debugger.h:31
static void debug_break()
Signals a breakpoint to an attached debugger.
static bool is_attached()
Gets a value that indicates whether a debugger is attached to the process.
static bool is_logging()
Checks to see if logging is enabled by an attached debugger.
static void log(int level, xtd::ustring &category, const xtd::ustring &message)
Posts a message for the attached debugger.
static bool launch()
Launches and attaches a debugger to the process.
Represents text as a sequence of UTF-8 code units.
Definition ustring.h:48
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.h:38
#define core_export_
Define shared library export.
Definition core_export.h:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition system_report.h:17