From the course: Visual Studio: Advanced Debugging Tools

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Run the sample application

Run the sample application - Visual Studio Tutorial

From the course: Visual Studio: Advanced Debugging Tools

Start my 1-month free trial

Run the sample application

- [Instructor] In this chapter, we'll look at the debug tools for working the threads in Visual Studio. But before we even get to that point in the demo, let's talk about the type of demo I created and look at how it works when you run it in the console. I created a console application because it has the simplest threading model. Had I created a desktop application or a web application, they bring their own threading complications in and we don't need to see those in this demo so I created a console and it looks like this when you run it. So we have a menu here. You can press the letters A, B, C, D or the escape key and each one of those will run a different demo. The first one will run on a single thread in a synchronous fashion and then B, C and D will use multiple threads. They all use different techniques. The parallel task library, the dot net tasks or the async/await keywords in C# but they all perform, under the…

Contents