xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
diagnostics
debugger.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
../core_export.hpp
"
6
#include "
../static.hpp
"
7
#include "
../string.hpp
"
8
9
#define __XTD_CORE_INTERNAL__
10
#include "
../internal/__xtd_debugbreak.hpp
"
11
#undef __XTD_CORE_INTERNAL__
12
14
namespace
xtd
{
16
namespace
diagnostics
{
32
class
core_export_
debugger
static_
{
33
public
:
35
39
[[nodiscard]]
static
auto
is_attached
() -> bool;
40
48
static
auto
debug_break
() -> void;
49
52
[[nodiscard]]
static
auto
is_logging
() -> bool;
53
58
[[nodiscard]]
static
auto
launch
() -> bool;
59
66
static
auto
log
(
xtd::int32
level,
const
xtd::string
& category,
const
xtd::string
& message) -> void;
68
};
69
}
70
}
__xtd_debugbreak.hpp
xtd::diagnostics::debugger
Enables communication with a debugger. This class cannot be inherited.
Definition
debugger.hpp:32
xtd::diagnostics::debugger::launch
static auto launch() -> bool
Launches and attaches a debugger to the process.
xtd::diagnostics::debugger::is_logging
static auto is_logging() -> bool
Checks to see if logging is enabled by an attached debugger.
xtd::diagnostics::debugger::log
static auto log(xtd::int32 level, const xtd::string &category, const xtd::string &message) -> void
Posts a message for the attached debugger.
xtd::diagnostics::debugger::is_attached
static auto is_attached() -> bool
Gets a value that indicates whether a debugger is attached to the process.
xtd::diagnostics::debugger::debug_break
static auto debug_break() -> void
Signals a breakpoint to an attached debugger.
core_export.hpp
Contains core_export_ keyword.
static_
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition
static.hpp:38
core_export_
#define core_export_
Define shared library export.
Definition
core_export.hpp:13
xtd::string
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition
__string_definitions.hpp:43
xtd::int32
std::int32_t int32
Represents a 32-bit signed integer.
Definition
int32.hpp:25
xtd::diagnostics
The xtd::diagnostics namespace provides classes that allow you to interact with system processes,...
Definition
assert_dialog_result.hpp:10
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
static.hpp
Contains xtd::static_object class.
string.hpp
Contains xtd::string alias.
Generated on
for xtd by
Gammasoft
. All rights reserved.