11.16.5. Breaking on a Stack address

To set a memory access breakpoint at a Stack address:

  1. Connect to the target.

  2. Load an executable image.

    This procedure uses the dhrystone image provided in the RealView Development Suite (RVDS) examples to demonstrate memory access breakpoints.

  3. Select Stack from the View menu to display the Stack view. Figure 11.29 shows an example.

    Figure 11.29. Example Stack view

    Example Stack view

  4. Right-click on the contents of the required stack entry to display the context menu.

  5. Select Create Breakpoint At... from the context menu.

    The Create Breakpoint dialog box is displayed. The Stack address is inserted in the Location field, and the breakpoint type is set to Hardware Access by default.

    Also, the Value Match field is enabled.

  6. Change the breakpoint type, if required.

  7. Leave the Value Match field blank.

  8. Click OK to set the breakpoint and close the Create Breakpoint dialog box.

See also

Copyright © 2002-2009 ARM Limited. All rights reserved.ARM DUI 0153K
Non-Confidential