Tag Archives: Debugging

Visual Studio.NET Debugging – Parallel Stacks and Tasks

Hi. This post is going to be short and sweet.

Just made a video overview on Visual Studio.NET Debugging – Parallel Stacks and Tasks. Hope that’s helpful if you’ve never used them before.

Code link is given in the video description ūüôā


Debugging multithreaded or recursive operations

Hi all.  I hope everyone is making their day great. I had a scenario where the Watch value of an expression was valuable to see during the recursion of a function. I had a recursive SolveSolution function and it worked with continuously getting the next empty cell and plugging in a trial value in that to see if it was a legal move.

The Parallel Watch window is a great tool in this manner. You can add several watches and they each go in as a column value.¬† Here’s a screenshot to follow along into the recursive method. Take note of the Recursion Depth value as well.Parallel Watch window

Using the output of this tool, the application bug that I’d remaining¬†was a lot easier to resolve and resulted in a quicker resolution. Hope this helps!


MSDN –¬†How to: Use the Parallel Watch Window
MSDN –¬†Walkthrough: Debugging a Parallel Application