-
Notifications
You must be signed in to change notification settings - Fork 611
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add polyfill for C++26's <debugging>
#7420
Labels
build
Monorepo organization, gradle/cmake, upstream_utils, etc
type: feature
Brand new functionality, features, pages, workflows, endpoints, etc.
Comments
calcmogul
added
build
Monorepo organization, gradle/cmake, upstream_utils, etc
type: feature
Brand new functionality, features, pages, workflows, endpoints, etc.
labels
Nov 21, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
build
Monorepo organization, gradle/cmake, upstream_utils, etc
type: feature
Brand new functionality, features, pages, workflows, endpoints, etc.
Per https://en.cppreference.com/w/cpp/header/debugging:
std::breakpoint()
pauses the running program when calledstd::breakpoint_if_debugging()
callsstd::breakpoint()
ifstd::is_debugger_present()
returns truestd::is_debugger_present()
checks whether a program is running under the control of a debuggerHere's a reference implementation from P2546 that we can import: https://github.com/grafikrobot/debugging
The text was updated successfully, but these errors were encountered: