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 - Visual Studio Tutorial
From the course: Visual Studio: Advanced Debugging Tools
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
-
-
-
-
-
-
(Locked)
Debug multithreaded code2m 47s
-
(Locked)
Run the sample application3m 51s
-
(Locked)
Examine the sample application code8m 22s
-
(Locked)
Overview of the thread debug windows1m 54s
-
(Locked)
Debug with the Threads window3m 21s
-
(Locked)
See worker threads in the Threads window3m 3s
-
(Locked)
Show threads icons in the source editor1m 13s
-
(Locked)
Debug with the parallel watch2m 12s
-
(Locked)
Identify threads with custom names and Flags3m 3s
-
(Locked)
View the Thread call stack1m 37s
-
(Locked)
Examine the modified code for Parallel Stack1m 50s
-
(Locked)
Use the Parallel Stack window4m 6s
-
(Locked)
Conditional breakpoints from Thread ID2m 53s
-
(Locked)
Freeze and thaw threads2m 22s
-
(Locked)
-
-
-