Getting Started with ASP.NET MVC - Part 5: How to do programming with razor syntax
First Time? You can support us by signing up. It takes only 5 seconds. Click here to sign up. If you already have an account, click here to login.


Upload Image Close it
Select File

Browse by Tags · View All
BRH 48
#DOTNET 34
#ASP.NET 29
jQuery 22
ASP.NET 20
.NET 20
WPF 9
jquery interview questions 9
jquery faq 8
ASP.NET4 8

Archive · View All
February 2011 10
September 2011 4
August 2011 4
July 2011 4
May 2011 4
April 2011 4
March 2011 4
October 2011 4
June 2011 4
January 2011 4

VS2010 Parallel Stacks - Debugging enhancement in VS2010

Aug 25 2010 11:22AM by Hima   

Parallel Stacks is one of the debugging enhancements in VS 2010 IDE that helps in debugging parallel programming. When you press F5 for debugging Parallel Stacks and Parallel Tasks windows get enabled in debug mode only. As you know, when a break point is set Program will stop at the Break Point.

Debug Menu Item->Windows->Parallel Stacks

parallelStacks- window

Parallel Stacks

The Parallel Stacks window demonstrates call stack information for all threads and Tasks.

          Parellel-Stacks-ThreadView

There is a dropdown list in the upper left-hand corner to select either Thread View or Task view. 

Parallel-Stacks Thread view

The below figure indicates parallel stacks in Tasks View .

Parallel-Stacks Tasks View

The below described are the other options

Show Only Flagged

There is Flagged Icon in the toolbar to show only call stacks for flagged threads. Flagging of the threads can be done from parallel tasks window.

Toggle Method View

This help to toggle between Stack View and Method View.

AutoScroll to current Stack Frame

As the name suggests this feature helps to auto-scroll the diagram to the current stack frame.

Toggle Zoom Control

This feature is to show/hide the zoom control. 

Right click on the current thread in call stack window and you can see the options as shown below

Current Thread Stack

We can Go to Source Code directly from here using Go to SourceCode Option. The other options are Go to Disassembly, Show External Code, Hexadecimal Display, Symbol Load Information, and Symbol Settings. The two new items that we get in addition to these are “Switch to Frame” and “Go to Task”.

“Switch to Frame” - switches to the frame that gets called in Call Stack window, but in a parallel application, there are cases that multiple frames may correspond to one method context. In that case there will be sub-menu items for each stack frame.

“Go to Task”- switches to the Task view. We can also navigate the same using the dropdown list in the toolbar. But it keeps the stack frame that has clicked as highlighted.

demonstrating parellel programming

Tags: BRH, #DOTNET, DOTNET, #ASP.NET, ASP.NET, Parallel Stacks, Debugging in VS 2010, PLINQ, Parallel Programming, VS2010,


Hima
26 · 7% · 1504
0
Liked
 
0
Lifesaver
 
0
Refreshed
 
0
Learned
 
0
Incorrect



Submit

Your Comment


Sign Up or Login to post a comment.

    Copyright © Beyondrelational.com Contact us      Privacy Policy      Terms of use      Report Abuse      Advertising