Skip to content

Notify debuggers on rethrown exceptions #116246

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

Merged
merged 1 commit into from
Jun 3, 2025

Conversation

MichalStrehovsky
Copy link
Member

No description provided.

@Copilot Copilot AI review requested due to automatic review settings June 3, 2025 06:20
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

The PR "Notify debuggers on rethrown exceptions" adds a conditional debugger notification on Windows when an exception is rethrown under the NATIVEAOT configuration.

  • Added a #if TARGET_WINDOWS block to call InternalCalls.RhpFirstChanceExceptionNotification() when rethrowing an exception.
  • Adjusted preexisting NATIVEAOT code sections to accommodate the new debugger notification.

Copy link
Contributor

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
See info in area-owners.md if you want to be subscribed.

@MichalStrehovsky MichalStrehovsky merged commit b78c19a into dotnet:main Jun 3, 2025
96 checks passed
@MichalStrehovsky MichalStrehovsky deleted the rethrownotify branch June 3, 2025 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants