名前空間
変種
操作

標準ライブラリヘッダ <debugging> (C++26)

From cppreference.com
 
 
標準ライブラリヘッダー
 

このヘッダは診断ライブラリの一部です。

関数

呼び出された際に実行中のプログラムを一時停止させる
(関数) [編集]
std::is_debugger_presenttrue を返す場合に std::breakpoint を呼び出す
(関数) [編集]
プログラムがデバッガーの制御下で実行されているかを確認する
(関数) [編集]

[編集] 概要

// all freestanding
namespace std {
  // debugging utility
  void breakpoint() noexcept;
  void breakpoint_if_debugging() noexcept;
  bool is_debugger_present() noexcept;
}
English 日本語 中文(简体) 中文(繁體)