A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/algorithm/../ranges/../utility/is_debugger_present.html below:

std::is_debugger_present - cppreference.com

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 value

The default version returns an implementation-defined value, which usually represents whether the program is executed under a debugger.

[edit] Notes

The 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 links

is_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