Debugging threads and processes
In this section, we are going to debug BackgroundPingConsoleApp from Chapter 1. You can use your completed project from Chapter 1 or get the project from this chapter’s GitHub repository: https://github.com/PacktPublishing/Parallel-Programming-and-Concurrency-with-C-sharp-10-and-.NET-6/tree/main/chapter10. We will debug the application and discover some of the features of the Debug Location toolbar and the Threads window as we go.
Debugging a project with multiple threads
The examples in this chapter will be run in the Debug configuration in Visual Studio. When you compile and run a .NET project, you can choose to run a Debug or Release build. While debugging, you will want to select Debug mode so that the project compiles w the symbolic debug information. This is not included in a Release build...