31Debugging with Breakpoints

BREAKPOINTS

A breakpoint is used to pause, or break, an application at a particular point of execution. An application that has been paused is in Break mode, causing a number of the Visual Studio 2017 windows to become active. For example, you can use the Watch window to view variable values. Figure 31-1 shows a breakpoint added to the constructor of the Customer class. The application breaks on this line if the Customer class constructor is called.

Illustration of breakpoint added to the constructor of the Customer class.

FIGURE 31-1 ...

Get Professional Visual Studio 2017 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.