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.

Use the Parallel Stack window

Use the Parallel Stack window - Visual Studio Tutorial

From the course: Visual Studio: Advanced Debugging Tools

Start my 1-month free trial

Use the Parallel Stack window

- [Instructor] I have restarted the debug session. We'll be looking at three windows, parallel stacks, the threads window and also the normal call stack. So let's start by seeing what we know about the call stack in the old window. There was external code, then I had an anonymous method called through the task, that went to find gemstones, and currently I'm sitting at a break point inside robot that is battery low. I'm on thread 5592, I've set a flag so I can follow that thread. Now that we've seen that setup let's go talk about what we see in the parallel stacks, starting with external code. That's over here in this box. And you can see there is five threads here. If you look at this window there is, I think there's eight threads over here, the difference is, I believe the difference is there's some threads over here with the managed ID of zero, I think those are managed by the .net run time, and they're not…

Contents