5
I have a WPF application and am looking for the best way to solve untreated exceptions. Today, when an unexpected exception occurs, deal at the event Application.DispatcherUnhandledException
. There, I record the Exception.StackTrace
, so, when it comes time to solve, I can look at the methods that have been called, in most cases, find the line where the error occurs is not so complicated (but I want to improve this)
I’ve heard of (video - it plays error, Intellitrace file is saved in a folder, it opens in VS and can debug) about record historical debug data, of Intellitrace, which, theoretically, would help too much at the time of debugging and even solve errors that occur with users, but that I cannot reproduce in debug.
- How can I collect information from Intellitrace in my application, not being in debug?
- How can I read the collected data?
- It is worth migrating from error logs with stack trace for Intellitrace?
- What about the performance?
I’m not very familiar with Itellitrace, but I do know that for production there’s an information collector. This is what https://msdn.microsoft.com/pt-BR/library/hh398365.aspx
– André Luis Marmo