From the course: Visual Studio: Advanced Debugging Tools

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

View IntelliTrace exceptions

View IntelliTrace exceptions - Visual Studio Tutorial

From the course: Visual Studio: Advanced Debugging Tools

Start my 1-month free trial

View IntelliTrace exceptions

- [Narrator] When you are working with IntelliTrace snapshots, you have the option to also collect snapshots on exception events, and that's what we're looking at in this video. First, let's think about what we know, what is logged, with exception events with IntelliTrace. All unhandled exceptions are logged, and so are handled exceptions, but when a handled exception is logged, it also logs where the exception is thrown, so you get two pieces of information: where the exception was thrown, which code handled that exception. I think this last bit is really useful in certain debugging scenarios, and that's because exception handlers can get stale, so you've got some code that is catching an exception, and as your application changes and this is deployed to different machines, perhaps, that exception is being caught in an unappropriate way, there are better ways of handling that. So you're tracking down a bug at…

Contents