xtd - Reference Guide  0.2.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Classes | Namespaces | Macros
debug.h File Reference
#include <cstdint>
#include <cstdlib>
#include <mutex>
#include "../add_last_arg_to_command.h"
#include "../core_export.h"
#include "../environment.h"
#include "../static.h"
#include "../ustring.h"
#include "assert_dialog_result.h"
#include "debugger.h"
#include "stack_trace.h"
#include "trace_listener_collection.h"

Definition

Contains xtd::diagnostics::debug class.

Go to the source code of this file.

Classes

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...
 

Namespaces

 xtd
 The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
 
 xtd::diagnostics
 The xtd::diagnostics namespace provides classes that allow you to interact with system processes, event logs, and performance counters.
 

Macros

#define assert_(...)   if (xtd::diagnostics::debug::add_last_arg_to_command_(__should_aborted__, (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_(...)   add_last_arg_to_command_(cassert, (csf_), __VA_ARGS__)
 Checks for a condition; if the condition is false, displays a message box that shows the call stack. More...