Skip to content
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

Do not crash on Debug.Assert #2335

Merged
merged 35 commits into from
Feb 24, 2020
Merged

Do not crash on Debug.Assert #2335

merged 35 commits into from
Feb 24, 2020

Conversation

nohwnd
Copy link
Member

@nohwnd nohwnd commented Feb 19, 2020

Description

Translate Debug.Assert, Debug.Fail, Trace.Assert and Trace.Fail failures into exceptions on netcoreapp 2.1, 3.0, 3.1 and onwards, to prevent them from crashing the testhost process.

Related issue

Fixes #2309

@nohwnd nohwnd marked this pull request as ready for review February 21, 2020 21:41
@nohwnd
Copy link
Member Author

nohwnd commented Feb 24, 2020

Waiting for #2340 to be merged to master.

@nohwnd nohwnd merged commit 76b7a76 into microsoft:master Feb 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Debug.Assert cause test host process to crash
4 participants