Standard library header <debugging> (C++26)
From cppreference.com
This header is part of the diagnostics library.
Functions | |
(C++26) |
pauses the running program when called (function) |
(C++26) |
calls std::breakpoint if std::is_debugger_present returns true (function) |
(C++26) |
checks whether a program is running under the control of a debugger (function) |
Synopsis
// all freestanding
namespace std {
// debugging utility
void breakpoint() noexcept;
void breakpoint_if_debugging() noexcept;
bool is_debugger_present() noexcept;
}