Chapter 10: Debugging Multithreaded Applications with Visual Studio
Visual Studio 2022 is the latest version of Visual Studio on Mac and Windows. In this chapter, we are going to learn how to leverage the power of Visual Studio when debugging multithreaded .NET applications.
Visual Studio provides several extremely useful tools for developers who need to debug parallel and concurrent .NET applications. This chapter will explore the tools in detail through concrete examples.
In this chapter, we will cover the following topics:
- Introducing multithreaded debugging
- Debugging threads and processes
- Switching and flagging threads
- Debugging a parallel application
By the end of this chapter, you will have the tools and knowledge you need to debug ...
Get Parallel Programming and Concurrency with C# 10 and .NET 6 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.