You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I call a C# method from C++ and try to handle exceptions thrown by the C# code using AppDomain.CurrentDomain.UnhandledException, it crashes.
It seems that even if the exception is caught by the UnhandledExceptionEvent, it still propagates further.
How should I resolve this issue? The reason for using UnhandledExceptionEvent to handle exceptions is to maintain compatibility with Mono. In Mono, using mono_unhandled_exception to handle exceptions does not cause a crash.
Environment:
dotnet 9
Windows
The text was updated successfully, but these errors were encountered:
When I call a C# method from C++ and try to handle exceptions thrown by the C# code using
AppDomain.CurrentDomain.UnhandledException
, it crashes.It seems that even if the exception is caught by the UnhandledExceptionEvent, it still propagates further.
How should I resolve this issue? The reason for using UnhandledExceptionEvent to handle exceptions is to maintain compatibility with Mono. In Mono, using
mono_unhandled_exception
to handle exceptions does not cause a crash.Environment:
The text was updated successfully, but these errors were encountered: