📜 ⬆️ ⬇️

Has the application crashed? AppHub Windows Phone and crash reporting

Lyrical digression


Once, when I was interviewed at one company, I was asked the question: “There is an application that suddenly drops, the user is offended and no longer wants to launch this application, no feedback forms have been set up, how can the developer know about this incident?”.

Then I didn’t know how to answer this question, I assumed to log, and every time I started the program I checked it, I assumed to catch all exceptions at the Application level and automatically send stack-trace and TP to the developer, but as it turned out, everything is much simpler.
')
In this free translation article, I will describe how this can be done using AppHub.



Has the application crashed? AppHub Windows Phone and crash reporting


Any developer will tell you that debugging applications in production (production environments) is a unique experience and applications on Windows Phone are no exception.

With the new version of AppHub for developers, debugging the exceptions that occurred in your application on the phone has just become a little easier. For registered developers, AppHub now allows you to study the health of your applications, count crashes, and investigate why this has happened.

When you open AppHub, you will now see a section called App Highlights which lists your applications and their latest downloads and crashes.

image

For example, the Windows Phone Stopwatch application was 34 times incorrectly completed (with approximately 50,000 downloads) and you can get more detailed information by clicking on the number of crashes. If you accidentally click on the name of the application, it will show the summary page of this application, instead of the page with falls.

On the page of the number of drops, you can see a detailed graph of the drops of the application for a customizable period of time.

image

You can download a spreadsheet in which you will have access to detailed information necessary for further study of the application crash, for example, the exception text and the call stack.
This is how it will look in our case:

image

Most likely, you will want to study the call stack, for a more readable view, you can change the properties of the cell, as shown below.

image

With the text wrap option enabled, the call stack looks much better.

image

Source: https://habr.com/ru/post/126048/


All Articles