Setting an In Class Breakpoint

Related Topics:

Setting an In Object Breakpoint Setting an In Member Breakpoint
Breakpoints in C++ Classes Breakpoints Window

You can set a breakpoint in each member function belonging to a specified C++ class. Use In Class to understand how class objects of a particular type are used in a program.

To set the In Class breakpoint:

1. In the Debugging Window, choose Windows Breakpoints.
Or, choose Execute Set Breakpoints.

2. If the Details pane is not displayed, click the Add/Change Breakpoint button (the Add/Change Breakpoint button toggles to Hide Details).

3. Choose Event In Class and type the class name in the Event text box.

4. Choose Action Stop.

5. Click Add.

Breakpoints are inserted only in member functions defined in this class. This does not include functions inherited from the base class.