Setting an In Object Breakpoint
Related Topics:
You can set a breakpoint to check when a function is called on a specific instance of a class. Use In Object to understand the action of pointers to objects.
To set the In Object 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 Object and type the class name in the Event text box.
- 4. Choose Action
Stop.
- 5. Click Add.