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
Running it on iOS or Android sim/emulators, all example buttons work fine.
But when I publish the app for Mac Catalyst:
dotnet publish -f net9.0-maccatalyst -c Release -p:CreatePackage=false
# open bin/Release/net9.0-maccatalyst/EmpowerPlant.app
open bin/Release/net9.0-maccatalyst/maccatalyst-arm64/EmpowerPlant.app/
The Throw Unhandled .NET Exception (Crash) button seem to just just disable the button itself.
After pressing it, I can still use the app to 'buy plants'.
Not sure if this is the excepted behavor on Mac Catalyst? If so, should we document it on the Crash function itself then and remove it from the sample?
Also note that at one time, clicking Throw Unhandled .NET Exception on Background Thread (Crash) had the app hang. I had to kill it with the task manager.
I tried several times to reproduce the hang but couldn't.
The text was updated successfully, but these errors were encountered:
bruno-garcia
changed the title
Unhandled exception demo doesn't crash the app
Unhandled exception demo doesn't crash the app on Mac Catalyst
May 17, 2025
Uh oh!
There was an error while loading. Please reload this page.
I'm working on the sample MAUI app: https://github.com/sentry-demos/dotnet-maui
Running it on iOS or Android sim/emulators, all example buttons work fine.
But when I publish the app for Mac Catalyst:
The Throw Unhandled .NET Exception (Crash) button seem to just just disable the button itself.
After pressing it, I can still use the app to 'buy plants'.
https://github.com/sentry-demos/dotnet-maui/blob/16e03f7016b8d8355a01c56f8b14acc6c639118f/MainPage.xaml.cs#L30-L35
Not sure if this is the excepted behavor on Mac Catalyst? If so, should we document it on the Crash function itself then and remove it from the sample?
Also note that at one time, clicking Throw Unhandled .NET Exception on Background Thread (Crash) had the app hang. I had to kill it with the task manager.
I tried several times to reproduce the hang but couldn't.
The text was updated successfully, but these errors were encountered: