xtd 0.2.0
debugger.h
Go to the documentation of this file.
1 #pragma once
5 #include <cstdint>
6 #include <cstdlib>
7 #include "../core_export.h"
8 #include "../static.h"
9 #include "../ustring.h"
10 
11 #define __XTD_CORE_INTERNAL__
12 #include "../internal/__std_abort.h"
13 #undef __XTD_CORE_INTERNAL__
14 
16 namespace xtd {
18  namespace diagnostics {
32  class core_export_ debugger static_ {
33  public:
35 
39  static bool is_attached();
40 
48  static void debug_break();
49 
52  static bool is_logging();
53 
58  static bool launch();
59 
66  static void log(int32 level, const xtd::ustring& category, const xtd::ustring& message);
68  };
69  }
70 }
#define static_
This keyword is use to represent a static object. A static object can&#39;t be instantiated (constructors...
Definition: static.h:37
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:46
Enables communication with a debugger. This class cannot be inherited.
Definition: debugger.h:32
int_least32_t int32
Represents a 32-bit signed integer.
Definition: types.h:129