Finding swallowed and async exceptions using IntelliTrace in VS2015
Jul 20, 2015Angelos Petropoulos
Summary
This post details the use of IntelliTrace in Visual Studio 2015 to diagnose two specific debugging scenarios: finding swallowed exceptions and identifying the source of exceptions in asynchronous code. It demonstrates how to use the IntelliTrace timeline and historical debugging features to trace exceptions to their catch points, even when they are not immediately apparent in the call stack. For async code, it highlights the use of the Diagnostic Tools window to find the actual exception location when Visual Studio's default debugger behavior is insufficient.
More from the IntelliTrace Stand-Alone Collector Configuration trail
- Searching and filtering the Events tab of the Diagnostic Tools window
- IntelliTrace, method call information, and Edit and Continue
- Collect data from a windows service using the IntelliTrace Standalone Collector
- IntelliTrace in Visual Studio Enterprise 2015 now supports attach!
- Known Issue for Diagnostics Tool window in Visual Studio 2015 RC: “The diagnostic tools failed unexpectedly”