| |||
| Home > Controlling the Behavior of Breakpoints > Updating windows and views when a breakpoint activates > Updating specific windows and views | |||
To update specific windows and views when a breakpoint activates:
Open the Create Breakpoint or Edit Breakpoint dialog box as appropriate.
Click More... on the breakpoint dialog box you are using. The breakpoint behavior controls are displayed, shown in Figure 12.1.
Click Add in the Actions group. The Add Action dialog box is displayed, shown in Figure 12.2.
Select the Update Window action. This is the default.
Select the window or view that you want to update
when the breakpoint activates. For example, select Watch to
update the Watch view.
You can also update any user-defined windows that you have opened.
Click OK to close the Add Action dialog box. The action is added to the breakpoint action list, shown in Figure 12.3.
If you want more windows or views to be updated, repeat this operation for each window or view.
When you have finished adding the windows and views to be updated, click OK to set the breakpoint and exit the breakpoint dialog box you are using.
If you have chosen to update the following views, make sure that you enable the automatic updating of each view:
Call Stack view
Locals view
Watch view.
Breakpoints that have actions assigned to them include the +Act suffix
on the breakpoint type shown in the Break/Tracepoints view. Figure 12.4 shows an example
of a breakpoint that has an action assigned to it.