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.

Overview of the thread debug windows

Overview of the thread debug windows - Visual Studio Tutorial

From the course: Visual Studio: Advanced Debugging Tools

Start my 1-month free trial

Overview of the thread debug windows

- [Instructor] We've talked a lot about threads in this chapter. It's finally time to look at the debug windows. To make this work, I'll need a break point in my code, so I have added four break points to program that CS, one in each location where I call charge batteries. I'll press A to hit my first break point. And go to the debug menu. And I'll start by looking at the threads window. It's typically docked at the top of the screen. There's another window that typically goes in the same location that's called the tasks window. Here it is. They flip back and forth between the two with this tab. The way I've written my task code, I will not get any tasks to display in this window, so we won't be talking about it in this chapter, but if you are working with tasks and trying to figure out when one is waiting or scheduled to run, this is a useful window. I'm sure you've worked with the watch window in the past. This is a…

Contents