Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@thaystg
Copy link
Contributor

@thaystg thaystg commented Dec 27, 2019

The behaviour expected of filter exceptions is:
-> throw in a async task with a try catch in the caller -> don't stop
-> throw in a new thread with a try catch in the caller -> stop
-> throw in the main thread without any try catch -> stop

Including a new test to test the fix of #17601.

Fixing #16588, create a while 1 to stops the program execution when an exception is thrown and no try catch is found and MONO_DEBUG=suspend-on-unhandled.

Fixes #17601
Fixes #16588

-> throw in a async task with a try catch in the caller -> don't stop
-> throw in a new thread with a try catch in the caller -> stop
-> throw in the main thread without any try catch -> stop

Including a new test to test the fix of mono#17601.

Fixing mono#16588, create a while 1 to stops the program execution when an exception is thrown and no try catch is found and MONO_DEBUG=suspend-on-unhandled.

Fixes mono#17601
Fixes mono#16588
@thaystg
Copy link
Contributor Author

thaystg commented Dec 27, 2019

@monojenkins build failed

2 similar comments
@thaystg
Copy link
Contributor Author

thaystg commented Dec 27, 2019

@monojenkins build failed

@thaystg
Copy link
Contributor Author

thaystg commented Dec 27, 2019

@monojenkins build failed

@thaystg
Copy link
Contributor Author

thaystg commented Dec 30, 2019

@monojenkins build OS X x64 Android SDK

@lambdageek
Copy link
Member

lambdageek commented Dec 31, 2019

the __chk_fail thing on Android SDK should be fixed by #18308

@lambdageek
Copy link
Member

@monojenkins build

@thaystg
Copy link
Contributor Author

thaystg commented Jan 2, 2020

@monojenkins build failed

@thaystg thaystg merged commit e209563 into mono:master Jan 2, 2020
@thaystg
Copy link
Contributor Author

thaystg commented Jan 2, 2020

@monojenkins backport 2019-12

ManickaP pushed a commit to ManickaP/runtime that referenced this pull request Jan 20, 2020
-> throw in a async task with a try catch in the caller -> don't stop
-> throw in a new thread with a try catch in the caller -> stop
-> throw in the main thread without any try catch -> stop

Including a new test to test the fix of mono/mono#17601.

Fixing mono/mono#16588, create a while 1 to stops the program execution when an exception is thrown and no try catch is found and MONO_DEBUG=suspend-on-unhandled.

Fixes mono/mono#17601
Fixes mono/mono#16588

Commit migrated from mono/mono@e209563
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.

[debugger] When debugger encounters a unhandled exception, it doesn't stop mono does not suspend on unhandled exception

2 participants