Introducing multithreaded debugging
Debugging is a key component of every .NET developer’s skillset. Nobody ever writes bug-free code and introducing multithreaded constructs to your project only increases the chances of introducing bugs. As .NET and C# have added more support for parallel programming and concurrency, Visual Studio has added more debugging features to support those constructs.
Today, Visual Studio provides the following multithreaded debugging features for the modern .NET developer:
- Threads: This window shows a list of the threads that are used by your application while debugging. It also indicates which thread is active when it stopped at a breakpoint in your code.
- Parallel Stacks: This window allows developers to visualize the call stacks for each thread in their application in a single view. Selecting a thread in the window will display call stack information for the selected thread in the Call Stack window.
- Parallel Watch: This window...