bool is_debugger_present() noexcept;
(since C++26)Attempts to determine if the program is being executed with debugger present.
This function is replaceable.
[edit] Return valueThe default version returns an implementation-defined value, which usually represents whether the program is executed under a debugger.
[edit] NotesThe intent of this function is allowing printing out extra output to help diagnose problems, executing extra test code, displaying an extra user interface to help in debugging, etc.
[edit] Example [edit] See also [edit] External linksis_debugger_present
standardizes many similar existing facilities, e.g.:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4