I've developed an UWP app for a client: as we encountered some bugs that I can't reproduce on my device, we've implemented a crash reporting solution.
HockeyApp
In a first time, I used HockeyApp like this to use crash report:
HockeyClient.Current.Configure("xxxxxx",
new TelemetryConfiguration() { EnableDiagnostics = true })
.SetExceptionDescriptionLoader((Exception ex) =>
{
return "Exception HResult: " + ex.HResult.ToString();
});
But as explained on another topic, the crashes were reported, but this didn't allow me to identify the problems as I didn't get enough details.
So as someone suggested I've uploaded the .pdb files from the Store to HockeyApp: but this time the symbols from the crashes and the .pdf files don't match.
I decided to use TrackEvent to analyze the problems. I've done somes tests on a function by adding:
Microsoft.HockeyApp.HockeyClient.Current.TrackTrace("MyViewModel - CheckUser()");
But the events are not reported in HockeyApp...
=> Would you have an explanation? Did I forgot anything? I will publish a new package on the Store and re-upload the .pdb files to HockeyApp, but I don't see what I could do else...
AppCenter
As AppCenter is now avaiable for UWP, I've done the same tests. I've implemented AppCenter like this:
AppCenter.Start("xxxxxx-xxx"
, typeof(Analytics)
, typeof(Crashes));
But unlike HockeyApp, crashes are not reported at all. AppCenter identifies well the app, as an entry is added on the "Crashes" tab with the current version number when the app is launched.
I also added Events with:
Analytics.TrackEvent("MyViewModel - CheckUser()");
But this time the events are well reported in AppCenter.
=> Did anyone ever use AppCenter for Crash Report on UWP? Is there anything else to add?
Conclusion
For now I have to use 2 tools, but it's not really helpful:
- HockeyApp for crash report
- AppCenter for Events
=>Do you have any other suggestions or tools that could help me?