| |||
Home > Monitoring Execution > Working with the stack > Setting a breakpoint |
To set a breakpoint in the Stack pane:
Right-click on the required value.
Select Set Break At... from the Stack Value context menu.
Complete the entries in the Set Address/Data Break/Tracepoint dialog box.
Click OK to close the dialog box and set the breakpoint.
RealView Debugger sets a breakpoint on a symbol address where it exists on the stack. As soon as you exit the function, the address is no longer meaningful. Do not, therefore, use such a breakpoint where execution runs past the function return call.
Unlike the Watch pane, the Stack pane acts like a snapshot of a chosen address. It does not track each invocation of a function and so is not able to track the chosen symbol.