Namespaces
Variants

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

From cppreference.net
Standard library headers

Cet en-tête fait partie de la bibliothèque de diagnostic .

Fonctions

(C++26)
interrompt l'exécution du programme lorsqu'elle est appelée
(fonction)
appelle std::breakpoint si std::is_debugger_present retourne true
(fonction)
vérifie si un programme s'exécute sous le contrôle d'un débogueur
(fonction)

Synopsis

// tous freestanding
namespace std {
  // utilitaire de débogage
  void breakpoint() noexcept;
  void breakpoint_if_debugging() noexcept;
  bool is_debugger_present() noexcept;
}