Parallel Stacks – new Visual Studio 2010 debugger window
- Posted: Jun 12, 2009 at 2:21 PM
- 55,823 Views
- 16 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
As developers try to take advantage of more and more cores in their applications, ultimately more and more threads will execute their code at the same time. When debugging such applications, there is a need to visualize multiple call stacks of multiple threads in a single view. This scenario is supported in Visual Studio 2010 via a new debugger window that this short video explores: Parallel Stacks.
To read more about the features of the Parallel Stacks window please read my blog posts here, here and here. To follow some steps and explore the Parallel Stacks (and Parallel Tasks) windows on your own Visual Studio 2010 installation, follow this MSDN walkthrough.
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
Does anyone else see somthing besides a black screen?
I do. Watching the screencast now. Very nice, Daniel.
Dreadnaught, are you running Chrome?
C
Works For Me(tm)
Looks like an interesting feature for ppl debugging multi-threaded code.
I'm running Chorme and do see a black screen as well. Works in IE though.
Can you watch any of the videos on the site with Chrome+Silverlight?
C
Yeah. Sometimes it works, sometimes it doesn't, even on the same video. And if it's blank there's usually a flash of the player controls before it goes black.
Nice screen cast. Hope this works on Express also. Looks really useful for parralle debuding. BTW, I am using IE, so it works.
rhm, thanks. yes this debugging window also supports native programming models such as PPL and even more so with the Tasks view of the Parallel Stacks window and also the Parallel Tasks window – I'll show those in my next screencast.
magicalclick, glad you liked it… Unfortunately, this debugger window is not available in the Express SKU, but it is available in all other VS2010 SKUs. The marketing folks thought this feature was too valuable to give for free and it was hard for me to argue with them on that point… Note that the parallel APIs are of course included with the Express SKUs.
not a debugger question .... can I get a similar call stack view of any process/thread running on the system? When my app hangs or the entire system locks up, I would like to see exactly what an app is currently running.
thanks,
Hi there
Black screen for me as well. Im running Vista 64 bit. Silverlight definetly has some unresolved issues
"Not for free" is ok, but try to avoid "Only costs your soul, and that of your family".
Price tags can get rather high for indies in some cases, and the price curve is rather steep in VS2008's case (std: ~300, prof: ~800, ts dev: ~5000(!)). Sadly you
can't seem to get ts dev without an MSDN license regardless, and those add quite a bit to the tag...
Having the APIs available in all editions is a very nice feature though!
SteveRichter, you can get a dump (which includes stacks) of any process via various methods/tools, e.g. Task Manager. A search for "hang dump" will point you to some resources. This new debugger window only works in the VS2010 IDE. Once you have a dump, you can open it in Visual Studio and use the debugger windows (assuming you have symbols for the process), inc Parallel Stacks.
If you have further technical questions about this debugger window specifically, please post back.
black screen for me - all c9 vidies went this way a few days ago. Firefox 3.0.11.
Sometimes tries to dowload the wmv file.
Very nice Daniel. That looks like a sweet feature. Should help a lot.
staceyw, glad it will be useful.
Cheers
Daniel
Remove this comment
Remove this thread
close