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 PointDebug Menu Item->Windows->Parallel StacksParallel StacksThe Parallel Stacks window demonstrates call stack information for all threads and TasksThere is a dropdown list in the upper left-hand corner to select either Thread View or Task viewThe below figure indicates parallel stacks in Tasks ViewThe below described are the other optionsShow Only FlaggedThere is Flagged Icon in the toolbar to show only call stacks for flagged threads. Flagging of the threads can be done from parallel tasks windowToggle Method ViewThis help to toggle between Stack View and Method ViewAutoScroll to current Stack FrameAs the name suggests this feature helps to auto-scroll the diagram to the current stack frameToggle Zoom ControlThis feature is to show/hide the zoom controlRight click on the current thread in call stack window and you can see the options as shown belowWe 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
ASPHostCentral is a premier web hosting company where you will find low cost and reliable web hosting. We have supported the latest ASP.NET 4.5 hosting and ASP.NET MVC 4 hosting. We have supported the latest SQL Server 2012 Hosting and Windows Server 2012 Hosting too!
Sign in