How do I set a breakpoint on the stack?

You can set a breakpoint that stops execution when RealView Debugger accesses the associated symbol on the stack.

1.   Open a Stack pane in the Code window.

2.   Right-click on the relevant stack value.

3.   Select the Set Break At… option from the context menu.

4.   The Set Address/Data Breakpoint dialog is displayed, with the address inserted in Location and HW Data Access selected automatically. Specify any additional information, and click OK to set the breakpoint.

image\lamp.gifA breakpoint set in this way is meaningful only as long as execution remains in the function.

Related Topics