-
Notifications
You must be signed in to change notification settings - Fork 141
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
AppCenter does not send crash reports on Windows with MAUI packaged app #1688
Comments
Hi @rogerbriggen ,
You can observe logs in Output panel when running the app using Visual Studio. Please attach logs with |
Hi @DmitriyKirakosyan |
Hi @rogerbriggen , for some reason I don't see any exception call stack in your first log. |
Hi @DmitriyKirakosyan I can try to create an app, the current app I cannot share. And after the Exception the Debugger jumps in because of unhandled exception |
Hi @DmitriyKirakosyan |
Hi @DmitriyKirakosyan , If the function is not async, the report is sent to appcenter but no callstack is available in app center... should I add another report for this? |
No need to create a separate issue. So the report sent in both cases, right? But if it was inside an async function, it doesn't contain a call stack? |
@DmitriyKirakosyan
|
Got it, thank you. Sorry for the confusion. Marking as a bug. |
Hi @rogerbriggen , it appears that this is a WinUI 3 (used in MAUI) bug, that an exception from an async method is not caught using As for the point 2., the call stack is empty on portal, even thought it is present in the log when it is sending from SDK. We will work on this bug and let you know on any updates. |
@rogerbriggen Looks like the error catching in async environment is fixed by the win app sdk team. See microsoft/microsoft-ui-xaml#5221 (comment). So updating WASDK to version I'm going to close this ticket as not an SDK issue. As for
There is a dedicated recently opened issue #1724. |
Description
I am using preview 1 of the sdk for MAUI. I don't get any crash reports even so they are enabled. If I throw an exception (or use Crashes.GenerateTestCrash()). My app gets closed but nothing is sent to the appcenter, also not after a restart of the app.
This worked with the 4.5.1 SDK
Repro Steps
Details
If using Xamarin.Forms or if using portable/shared code to call our SDK APIs, are you using shared project, PCL code or .NET standard code for the application? Which .NET standard version or which PCL profile?
AppCenter.LogLevel = LogLevel.Verbose
before your call toAppCenter.Start(...)
and include the logs here:The text was updated successfully, but these errors were encountered: