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 snapshots in historical debugging - Visual Studio Tutorial
From the course: Visual Studio: Advanced Debugging Tools
View snapshots in historical debugging
- [Narrator] What do you say we take a look at how to work with snapshots when we're historical debugging? So, the first step is to change some options. Choose this third option here, InteliTrace snapshots, and we'll start capturing the snapshots and we want to leave this checked. Collect snapshots on exception events. We'll look at that later in the chapter. Then before we debug the code, let's think about what we know about snapshots. A snapshot is taken when you hit a break point or when you step through a line of code in the debugger. And when you take a snapshot, it grabs the application state and stores it in the iTrace file. Now in the last demo, I stepped through a lot of code. Maybe 60 or 80 lines of code, and I don't want to see all that in this demo. So what I've done is added some extra breakpoints to my code. There's several break points in this file. One here on line 10 just before we calculate the first…
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
-
-
-
-
-
-
-