Skip to content

Move first chance exception notification so the !pe works #101190

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

Conversation

janvorli
Copy link
Member

The recent addition of first chance exception notification for the new EH was comming too early, so when the notification occurred, the !pe SOS command was not able to get the actual exception yet - it was not accessible via the Thread::ExceptionState

This change moves the notification to the first spot where the exception state points to the exception, so the !pe works.

The recent addition of first chance exception notification for the new
EH was comming too early, so when the notification occurred, the !pe SOS
command was not able to get the actual exception yet - it was not
accessible via the Thread::ExceptionState

This change moves the notification to the first spot where the exception
state points to the exception, so the !pe works.
@janvorli janvorli added this to the 9.0.0 milestone Apr 17, 2024
@janvorli janvorli requested a review from jkotas April 17, 2024 16:12
@janvorli janvorli self-assigned this Apr 17, 2024
Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

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

Thanks

@janvorli janvorli merged commit b35b67d into dotnet:main Apr 17, 2024
@janvorli janvorli deleted the move-first-chance-notification-for-windbg branch April 17, 2024 21:57
matouskozak pushed a commit to matouskozak/runtime that referenced this pull request Apr 30, 2024
)

The recent addition of first chance exception notification for the new
EH was comming too early, so when the notification occurred, the !pe SOS
command was not able to get the actual exception yet - it was not
accessible via the Thread::ExceptionState

This change moves the notification to the first spot where the exception
state points to the exception, so the !pe works.
@github-actions github-actions bot locked and limited conversation to collaborators May 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants