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 - Visual Studio Tutorial
From the course: Visual Studio: Advanced Debugging Tools
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
-
-
-
-
-
-
(Locked)
Debug multithreaded code2m 47s
-
(Locked)
Run the sample application3m 51s
-
(Locked)
Examine the sample application code8m 22s
-
(Locked)
Overview of the thread debug windows1m 54s
-
(Locked)
Debug with the Threads window3m 21s
-
(Locked)
See worker threads in the Threads window3m 3s
-
(Locked)
Show threads icons in the source editor1m 13s
-
(Locked)
Debug with the parallel watch2m 12s
-
(Locked)
Identify threads with custom names and Flags3m 3s
-
(Locked)
View the Thread call stack1m 37s
-
(Locked)
Examine the modified code for Parallel Stack1m 50s
-
(Locked)
Use the Parallel Stack window4m 6s
-
(Locked)
Conditional breakpoints from Thread ID2m 53s
-
(Locked)
Freeze and thaw threads2m 22s
-
(Locked)
-
-
-