-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[mono][debugger] Fix Debugger.Break() behavior when running on release mode #79822
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
Conversation
Tagging subscribers to this area: @thaystg Issue DetailsIf native_debugger_break is disabled do not call G_BREAKPOINT otherwise the app will be interrupted by a signal when running in release mode a code that has a Debugger.Break() Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1675269
|
@steveisok should we backport this one? |
@lewing should we backport this one? |
Yes, I think so as long as @lewing is ok w/ it. |
/backport to release/7.0 |
Started backporting to release/7.0: https://github.com/dotnet/runtime/actions/runs/3893630409 |
@thaystg Should we backport this to 6.0, too? runtime/src/mono/mono/component/debugger-stub.c Lines 156 to 159 in ace6275
|
I think so. I will open it. :) |
If native_debugger_break is disabled do not call G_BREAKPOINT otherwise the app will be interrupted by a signal when running in release mode a code that has a Debugger.Break()
Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1675269