Although made with the Visual Studio 2019 debugger, the features and operations are typical of all modern debuggers. Once you learn what debuggers can do, you may need to consult the tool-specific documentation to learn how to perform the operations on your system.
The debugger becomes increasingly helpful as programs grow in size and complexity. Specifically, programs with many functions spread over many files are easier to debug with a good, modern debugger. As illustrated in previous chapters, breakpoints and the ability to run to the current cursor location are still vital operations. However, effectively debugging a function requires more dynamic monitoring of running programs. Three stepping operations, each one invoked with a different button, provide the needed monitoring capability.
The debugger is a dynamic tool, making it easier to demonstrate in a video than static text and screen images. So, the following figures only summarize some of the basic stepping operations.
Time: Step Into, Step Over, and Step Out
Review
The stepping tutorial uses the worked example from the previous section. Please review it as needed: