Debugging projects in VS
Before discussing breakpoints in depth in the Exploring breakpoints in VS 2022 section, you must know about some technical aspects that are used in the debugging world, as well as in VS.
We’ll start with what debugging and debugger are.
Understanding the technical aspects of debugging
You must know the difference between the terms debugger and debugging so that you know what I mean when I mention any of these terms throughout this book.
First, the term debugging refers to the action of looking for errors in the code. This does not necessarily include the use of a tool such as an IDE. You could, for example, search for errors in code written on a piece of paper, and you would still be debugging.
This is usually not feasible, and a tool called a debugger is often used. This tool is attached to the application process you are going to run, allowing you to analyze your code while the application is running.
In VS, we can start an application...