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

What you should know - Visual Studio Tutorial

From the course: Visual Studio: Advanced Debugging Tools

Start my 1-month free trial

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