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 the Thread call stack - Visual Studio Tutorial
From the course: Visual Studio: Advanced Debugging Tools
View the Thread call stack
- [Instructor] We are looking at our friend, the call stack window, which is usually docked at the bottom of the screen. This is useful when you want to know how your code ended up in the current location. When you look at this break point, I can see that the call came from this line here. Double click on this, and what does that mean? Looks like because I created the task and started the task, put that task through to the thread, and through an anonymous method called my FindGemstones. And the screen indicator just tells me where I'm at and where the call came from. Double click on this one, it takes me back to my current break point. Earlier in this chapter, we looked at the parallel watch. This allows us to have multiple watch windows for each thread. It would be useful to have a parallel call stack, wouldn't you think? There isn't one. Or is there? You just need to know where to look. It's not here, it's in the…
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)
-
-
-