Standard library header (C++26) (original) (raw)
From cppreference.com
Language support (C++20) (C++26) (C++20) (C++11) <initializer_list> (C++11) <source_location> (C++20) (C++23) (C++20) Concepts (C++20) Diagnostics (C++26) (C++23) <system_error> (C++11) Memory management <memory_resource> (C++17) <scoped_allocator> (C++11) Metaprogramming <type_traits> (C++11) (C++11) | General utilities (C++17) (C++20) (C++17) (C++23) (C++20) (C++17) <stdbit.h> (C++26) (C++11) (C++11) (C++17) Containers (C++11) <flat_map> (C++23) <flat_set> (C++23) <forward_list> (C++11) (C++26) <inplace_vector> (C++26) (C++23) (C++20) <unordered_map> (C++11) <unordered_set> (C++11) Iterators Ranges (C++23) (C++20) | Algorithms Strings (C++11) <string_view> (C++17) Text processing (C++11/17/26*) (C++11) <text_encoding> (C++26) Numerics (C++11) (C++26) (C++20) (C++11) (C++26) <stdckdint.h> (C++26) Time (C++11) C compatibility (C++11/17/20*) (until C++20) (C++11/17/20*) (C++11/17/20*) (C++11/17/20*) | Input/output (C++11) (C++17) (C++23) (C++23) (C++98/26*) (C++20) Concurrency support (C++11) (C++20) <condition_variable> (C++11) (C++11) <hazard_pointer> (C++26) (C++20) (C++11) (C++26) (C++20) <shared_mutex> (C++14) <stdatomic.h> (C++23) <stop_token> (C++20) (C++11) Execution support (C++17) |
---|
This header is part of the diagnostics library.
Functions | |
---|---|
breakpoint(C++26) | pauses the running program when called (function) [edit] |
breakpoint_if_debugging(C++26) | calls std::breakpoint if std::is_debugger_present returns true (function) [edit] |
is_debugger_present(C++26) | checks whether a program is running under the control of a debugger (function) [edit] |
[edit] Synopsis
// all freestanding namespace std { // debugging utility void breakpoint() noexcept; void breakpoint_if_debugging() noexcept; bool is_debugger_present() noexcept; }
Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/header/debugging&oldid=177389"