Answered by:
How to get exceptions displayed in Windows Store Dashboard?

Question
-
Hi,
is there a way to get handled exceptions being listed in the Windows Store Dashboard?
Thanks,
Andreas
Sunday, November 9, 2014 2:04 PM
Answers
-
You can download and analyze the latest crash dumps for the most common crashes. Please refer to the following links for more information:
http://blogs.msdn.com/b/ntdebugging/archive/2014/01/13/debugging-a-windows-8-1-store-app-crash-dump.aspx
http://msdn.microsoft.com/en-us/library/windows/apps/hh967782.aspx
http://msdn.microsoft.com/en-us/library/windows/apps/dn745652.aspxIf you need more sophisticated logging mechanisms, you should implement this functionality yourself. You could for example log errors to some remote data storage, such as for example a database using a WCF service, from within your application. There is a code example here that may be helpful: https://code.msdn.microsoft.com/windowsapps/Logging-Sample-for-Windows-0b9dffd7
Here is another link on the subject: http://bernhardelbl.wordpress.com/2013/01/12/how-to-write-log-files-in-windows-store-apps/
You can handle the Application.UnhandledException to log any unhandled exception that is being thrown in your application: http://stackoverflow.com/questions/13636751/is-there-a-global-exception-handler-in-windows-store-apps
Please remember to mark helpful posts as answer and/or helpful.
- Marked as answer by Herro wongMicrosoft contingent staff, Moderator Monday, November 17, 2014 9:53 AM
Sunday, November 9, 2014 2:29 PM -
handled exceptions would not show in the dashboard. You would have to log them with an analytic framework so you could have a record of what and how often they are happening.
http://devatheart.com/2012/09/02/analytics-for-windows-phone-nuget-to-rule-them-all/
- Edited by Ken Tucker Sunday, November 9, 2014 2:32 PM
- Proposed as answer by Oliver Ulm Monday, November 10, 2014 9:22 AM
- Marked as answer by Herro wongMicrosoft contingent staff, Moderator Monday, November 17, 2014 9:53 AM
Sunday, November 9, 2014 2:32 PM
All replies
-
Dashboard --> Select you app --> Quality
在現實生活中,你和誰在一起的確很重要,甚至能改變你的成長軌跡,決定你的人生成敗。 和什麼樣的人在一起,就會有什麼樣的人生。 和勤奮的人在一起,你不會懶惰; 和積極的人在一起,你不會消沈; 與智者同行,你會不同凡響; 與高人為伍,你能登上巔峰。
Sunday, November 9, 2014 2:23 PM -
Hi Bill,
the problem here is that my exceptions are handled. As far as I can see, only unhandled exceptions get shown in the dashboard. Is there a way to get handled exceptions shown too?
Thanks,
Andreas
Sunday, November 9, 2014 2:29 PM -
You can download and analyze the latest crash dumps for the most common crashes. Please refer to the following links for more information:
http://blogs.msdn.com/b/ntdebugging/archive/2014/01/13/debugging-a-windows-8-1-store-app-crash-dump.aspx
http://msdn.microsoft.com/en-us/library/windows/apps/hh967782.aspx
http://msdn.microsoft.com/en-us/library/windows/apps/dn745652.aspxIf you need more sophisticated logging mechanisms, you should implement this functionality yourself. You could for example log errors to some remote data storage, such as for example a database using a WCF service, from within your application. There is a code example here that may be helpful: https://code.msdn.microsoft.com/windowsapps/Logging-Sample-for-Windows-0b9dffd7
Here is another link on the subject: http://bernhardelbl.wordpress.com/2013/01/12/how-to-write-log-files-in-windows-store-apps/
You can handle the Application.UnhandledException to log any unhandled exception that is being thrown in your application: http://stackoverflow.com/questions/13636751/is-there-a-global-exception-handler-in-windows-store-apps
Please remember to mark helpful posts as answer and/or helpful.
- Marked as answer by Herro wongMicrosoft contingent staff, Moderator Monday, November 17, 2014 9:53 AM
Sunday, November 9, 2014 2:29 PM -
handled exceptions would not show in the dashboard. You would have to log them with an analytic framework so you could have a record of what and how often they are happening.
http://devatheart.com/2012/09/02/analytics-for-windows-phone-nuget-to-rule-them-all/
- Edited by Ken Tucker Sunday, November 9, 2014 2:32 PM
- Proposed as answer by Oliver Ulm Monday, November 10, 2014 9:22 AM
- Marked as answer by Herro wongMicrosoft contingent staff, Moderator Monday, November 17, 2014 9:53 AM
Sunday, November 9, 2014 2:32 PM