I have a WPF application and am looking for the best way to solve unhandled exceptions. Today, when an unexpected exception occurs, deal in event Application.DispatcherUnhandledException
. There, I write the Exception.StackTrace
, so , at the time of solving, I can look at the methods that were called, in most cases, finding the line where the error occurs is not so complicated (but I want to improve it)
I've heard ( video - it reproduces the error, the IntelliTrace file is saved in a folder, it opens in VS and can debug ) about write historical debug data from IntelliTrace, which would theoretically help too much at the time of debugging and even fixing errors that occur with users but that I can not play in debug .
- How can I collect IntelliTrace information in my application, not being in debug ?
- How can I read the collected data?
- Is it worth migrating from error logs with stack trace to IntelliTrace?
- What about performance?