Asked by:
Crash management for in-house application

Question
-
hello,
i am trying to develop an in-house store app and as last step i am trying to implement crash management system. is there any system like acra in android? or can i handle crashes without using third party? i know windows creates a file about application crash(stack trace vs.) how can i get this file and send via web service? what is the best solution?
thanks for your helps in advance,
Tuesday, April 29, 2014 6:52 AM
All replies
-
there are many logging frameworks out there. please review them & select one that best meets your requirements.
also, you can roll out your own as well - have try catch blocks & log + send email with exception details in the catch block.
hope this helps!
Tuesday, April 29, 2014 6:56 AM -
hi Shreeharsh,
thanks for your reply. i prefer handling it if i can. you said try-catch block but we are talking about crashes, is it possible to catch crashes in catch block? i mean does windows give us a chance to run some code when application crashes? if so which file should i use to catch all crashes in my application?
there is also another problem sending log via email. what if there is no connection?
- Edited by T38497 Tuesday, April 29, 2014 7:23 AM
Tuesday, April 29, 2014 7:20 AM -
Hi,
The Windows Store dashboard provides this information to Windows Store app developers, along with additional metrics on download and usage data, ratings and reviews, and financial information. The Reviewing app quality page on MSDN gives a wonderful overview of how you can use telemetry to understand and resolve app failures to improve app quality. Please note that you must enable telemetry collection for your account in order to receive this data. As a Windows Store app developer, you are encouraged to visit the dashboard and view the metrics and failure data available for your apps.
And you can also use UnhandledException handler in App.xaml.cs file to get the exception information:
(1) save the exception info somewhere, then (2) try to send this information to the web service and finally (3) remove the info from whereever you saved it in (1). Obviously you also need a web server running the web service which you also have to create.
Please see the link below:
http://stackoverflow.com/questions/20683163/winrt-8-1-crash-report
http://msdn.microsoft.com/en-us/library/windows/apps/xaml/dn532194.aspx
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.Wednesday, April 30, 2014 2:31 AM -
hi Anne,
thanks for your reply, i will check the links you wrote. i have a question about store dashboard. as i mentioned i am developing an in-house app, i am not distributing it on store but installing manually(i will use a client management system like radia) in this situation, will dashboard give me the info that i need?
Wednesday, April 30, 2014 5:41 AM -
Hi,
You cannot get the information of dashboard if you do not distributeyour app on store.
Note You can view your app's quality only if the app is listed in the Windows Store and appears below the Apps in the Store title
Please refer to the link:
http://msdn.microsoft.com/en-us/library/windows/apps/hh967782.aspx
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.Wednesday, April 30, 2014 8:37 AM