You can set an instance breakpoint on an instance of a class, so that execution stops each time a member function is called for that instance, from any view that displays the value of the class instance. This includes the local variables view and any details view of the instance. When you set an instance breakpoint, a breakpoint is set for each method of the instance's class, including constructors and the destructor, but the breakpoint only applies to that particular instance of the class (that is, the breakpoint only applies to the method when it is called for that particular instance).
To set an instance breakpoint from a source view, follow these steps:
If the instance is already visible in a local variables view, follow these steps:
icon, or the equals sign (=),
for the class instance .![]()
Enable, Disable, or Delete Breakpoints from
a Breakpoints View
