Parallel Stacks – new Visual Studio 2010 debugger window
- Posted: Jun 12, 2009 at 2:21 PM
- 54,344 Views
- 16 Comments
Download
How do I download the videos?
- To download, right click the file type you would like and pick “Save target as…” or “Save link as…”
Why should I download videos from Channel9?
- It's an easy way to save the videos you like locally.
- You can save the videos in order to watch them offline.
- If all you want is to hear the audio, you can download the MP3!
Which version should I choose?
- If you want to view the video on your PC, Xbox or Media Center, download the High Quality WMV file (this is the highest quality version we have available).
- If you'd like a lower bitrate version, to reduce the download time or cost, then choose the Medium Quality WMV file.
- If you have a Zune, WP7, iPhone, iPad, or iPod device, choose the low or medium MP4 file.
- If you just want to hear the audio of the video, choose the MP3 file.
Right click “Save as…”
Author: Hi, I am Daniel Moth
Introduction:
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 Closed
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
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