Chapter 5: Debugging and Compiling Your Projects
As software developers, one skill that should be learned as early as possible is program debugging. This applies to .NET projects but also any other software development technology.
If you want to get the most out of Visual Studio 2022, you must be familiar with its different windows that can help you observe information to fix bugs and know how to use as many of the debugging tools it offers, including breakpoints. A breakpoint offers the functionality to stop the execution of an application, allowing you to see the state of each of the objects and corroborate its behavior.
That is why, in this chapter, we will talk about debugging in Visual Studio 2022, the different breakpoints available, the state inspection tools, and which are the best scenarios for each one of them.
The topics we will discuss in this chapter are as follows:
- Debugging projects in Visual Studio
- Exploring breakpoints in Visual Studio
- Inspection...