Standard library header <debugging> (C++26)
From cppreference.net
C++
Standard library headers
此头文件属于 诊断 库的一部分。
函数 |
|
|
(C++26)
|
调用时暂停正在运行的程序
(函数) |
|
(C++26)
|
若
std::is_debugger_present
返回
true
则调用
std::breakpoint
(函数) |
|
(C++26)
|
检查程序是否在调试器控制下运行
(函数) |
概要
// 所有独立环境实现 namespace std { // 调试工具 void breakpoint() noexcept; void breakpoint_if_debugging() noexcept; bool is_debugger_present() noexcept; }