In this article we are going to see how to Monitor and analyze a Windows Phone application after developing it through Visual Studio 2012 IDE. Always there is a question on why we need to monitor, basically monitoring will help us to understand the quality of the application and helps us to develop something better on top of what is done for today. This will help to change the application accordingly before it reaches to market and end users to review. The monitoring feature helps to capture all the metrics that are required to check the quality of the application easily. [more]
With this Application monitoring tool we can check the application Startup time, Responsive time, Batter drain time (basically batter usage), Network efficiency, Network signals and performance and memory issues etc. Let us see how to do the monitoring for an application from Visual Studio 2012 IDE. Open Visual Studio 2012 IDE in administrator mode and open an existing application which we developed in our previous articles as shown in the screen below.
Here are the steps we need to follow to start the monitoring process and stop it to analyze the log reports to get some performance optimization helps from the tool. To start the Monitoring service go to the DEBUG menu from the top ribbon menus and we can see an option Start Windows Phone Application Analysis or press Alt + F1 shortcut as shown in the screen below.
We can see a new windows opened with the name (F5debugHowto92_2013_07_22_17_05_47.sap) created in the solution explorer in the root folder which has the application monitoring features as shown in the screen below.
Click on the Sart Session (App will Start) link button at the bottom to start the performance analysis for the application and we can see the application starts in the emulator and message shown in the same page as shown in the screen below.
After few minutes click on End Session (App will exit) from the link button and we can see the complete analysis report with the summary of issue if any as shown in the screen below.
To get much detailed report click on the 0 Alerts link in the summary which will showcase a nice graph with the list of options and the usage as shown in the screen below.