Marshalled managed exceptions should be considered unhandled exceptions by the debugger
- Dominant language
- C#
- Stars
- 2.9k
- Forks
- 576
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 96
Description
The debugger should consider (at least by default) marshalled managed exceptions as unhandled exceptions, and break.
This has become more important with .NET, where we've enabled exception marshalling by default.
A managed exception may now do the following:
* For iOS and tvOS: get converted into an Objective-C exception, which may end up aborting the process (without the debugger breaking).
* For Mac Catalyst and macOS: get converted into an Objective-C exception, which AppKit swallows and goes on its merry way (without the debugger breaking).
Neither are good scenarios, so we should look into what needs to happen to make the debugger break when an exception is marshalled (it's possible runtime changes will be needed).
Ref: https://github.com/dotnet/maui/issues/7176
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.