How to get the Diagnostics Info on demand?

2 posts, 0 answers
  1. Martin
    Martin avatar
    26 posts
    Member since:
    Jul 2012

    Posted 18 Oct 2012 Link to this post

    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

  2. Todor
    Todor avatar
    773 posts

    Posted 19 Oct 2012 Link to this post

    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.

    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
Back to Top