Visualizing concurrency

The Concurrency Visualizer is another tool that was added in Visual Studio 2010 to assist with multithreaded code and, just like the other features of Visual Studio related to threading in Visual Studio 2012, it too has been the subject of a number of improvements. Starting with VS2013, it has been pulled out of the default installation, but is available on the Visual Studio Gallery.

In this recipe, we'll take a look at these improvements, and see how you can better understand what is happening inside your application when it runs.

Getting ready

You will need to use VS2015 or one of the premium editions for this recipe. Download and install the Concurrency Visualizer from the Visual Studio Gallery available at https://visualstudiogallery.msdn.microsoft.com/a6c24ce9-beec-4545-9261-293061436ee9 ...

Get Visual Studio 2015 Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.