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 - Visual Studio Tutorial
From the course: Visual Studio: Advanced Debugging Tools
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
-
-
-
A quick look at the Diagnostics window2m 7s
-
(Locked)
A quick look at the IntelliTrace tools3m 24s
-
(Locked)
What you should know4m 31s
-
(Locked)
Understand the iTrace files2m 45s
-
(Locked)
Choosing what to save in iTrace files3m 7s
-
View function calls in historical debugging9m 29s
-
(Locked)
View snapshots in historical debugging3m 58s
-
(Locked)
View IntelliTrace exceptions4m 51s
-
(Locked)
View UI messages2m 38s
-
(Locked)
View other events3m 17s
-
(Locked)
View IntelliTrace timeline3m 10s
-
-
-
-
-
-
-