11.17.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 View → Stack from the Code window main menu to open 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 to open the Create Breakpoint dialog box. 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-2011 ARM. All rights reserved.ARM DUI 0153N