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.
What you should know - Visual Studio Tutorial
From the course: Visual Studio: Advanced Debugging Tools
What you should know
- [Instructor] Visual Studio is filled with helpful debugging tools. Many of these are instantaneous interactive tools. In other words, they are designed to find problems and bugs in code while in a current debug session. Most common type of debugging in Visual Studio is what I call live debugging. We set a breakpoint in our code and run the application. When the breakpoint is hit, the debugger halts the application. In this example, we stop on line 2. While we're at the breakpoint, we can look at our code, plus examine the current state of our application data. We can see the values of our variables. Look at the contents of computer registers, see what threads are active and find our location in the call step. And in many cases, we can change the values of variables while debugging but here is an important constraint. Once we move forward in our code by stepping through our code or hitting another breakpoint, we can't go…
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
-
-
-
-
-
-
-