Recently I set up Visual Studio App Center's crash logging on my UWP app which is published on the Microsoft Store.
I noticed that my app crashed a few times on App Center's dashboard, but I don't understand how those "stack traces" shown on the dashboard can be useful to me. They do not contain any line numbers and therefore I can't know where exactly the bug is in my app.
I also uploaded my app's symbols to Visual Studio App Center.
Here's a screenshot of the crash from Visual Studio App Center's dashboard:
I can understand that the exception was thrown in the doLoginAsync
method, but that method is complex and I need more details about where the exception occurred.
How can I understand where exactly is the problem from Visual Studio App Center's crash stack traces?
I solved this problem by uploading my app's correct symbols to the App Center.
In my case the app was already on the Microsoft Store but I had only uploaded my locally-generated symbols. Those locally-generated symbols didn't match the version that got published on the store because before getting published symbols are generated again from Microsoft side.
To download the new symbols I had to go to the Microsoft Partner Center, then go to my app's page, and then to the Manage Packages
section:
Then, from this section I could download my app's symbols and then upload them to App Center.
Most of the time App Center doesn't signal that crashes are unsymbolicated, so you have to remember to upload the new symbols every time you publish a new version of your app.