Namespaces
Variants

Standard library header <debugging> (C++26)

From cppreference.net
Standard library headers

Dieser Header ist Teil der Diagnosebibliothek .

Funktionen

(C++26)
hält das laufende Programm beim Aufruf an
(Funktion)
ruft std::breakpoint auf, falls std::is_debugger_present true zurückgibt
(Funktion)
prüft, ob ein Programm unter der Kontrolle eines Debuggers läuft
(Funktion)

Übersicht

// alle freestanding
namespace std {
  // Debugging-Hilfsmittel
  void breakpoint() noexcept;
  void breakpoint_if_debugging() noexcept;
  bool is_debugger_present() noexcept;
}