Namespaces
Variants

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

From cppreference.net
Standard library headers

이 헤더는 진단 라이브러리의 일부입니다.

함수

(C++26)
호출 시 실행 중인 프로그램을 일시 중지함
(함수)
std::is_debugger_present true 를 반환할 경우 std::breakpoint 를 호출함
(함수)
프로그램이 디버거 제어 하에 실행 중인지 여부를 확인함
(함수)

시놉시스

// 모든 독립 실행 환경
namespace std {
  // 디버깅 유틸리티
  void breakpoint() noexcept;
  void breakpoint_if_debugging() noexcept;
  bool is_debugger_present() noexcept;
}