This is a migrated thread and some comments may be shown as answers.

How to get the Diagnostics Info on demand?

1 Answer 13 Views
Diagnostics
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Martin
Top achievements
Rank 1
Martin asked on 18 Oct 2012, 02:51 PM

Here's a simple question, I have a function in my app for generating on demand log that user can send by email. I thought RadDiagnostics can generate the Diagnostics Info on demand, but apparently it's not possible.

Could you add method to RadDiagnostics for generating this info on demand whenever I want? Thanks

http://www.telerik.com/help/windows-phone/diagnostics-features-diagnosticdata.html

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 19 Oct 2012, 02:00 PM
Hello Martin,

Thank you for your suggestion.

However, such a feature wouldn't fit well with RadDiagnostics' main idea: to handle ApplicationUnhandledExceptions while preventing the application to crush. 
If you still want to use this component for that purpose, you can manually throw an exception, which would cause the data to be collected and sent to you. If you don't want the users to see the notification message about the exception, you can read this blog post and see how to skip the notification message and force the collection of the data.

Regards,
Todor
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Diagnostics
Asked by
Martin
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or