Use all hardware breakpoints

Technical Note 31070

Targets:
ARM

Component:
Debugger

Updated:
8/15/2012 11:22 AM

Introduction

This Technical Note discusses how to take control over the usage of the hardware breakpoints.

Background

The number of hardware breakpoints can become a limitation when debugging in hardware. (An ARM7/9-core typically has 2 hardware breakpoints, while a Cortex-core typically has 4-8 hardware breakpoints.)

Wanted behavoir

All hardware breakpoint should be available for user-debugging. The C-SPY debugger shouldn't use any hardware breakpoints at all.

What to do

Disable the breakpoints that C-SPY sets.

Disadvantages

These debuger features will not be usable:

  • run to (main)
  • use the stack plugin
  • use the "C-SPY Debugger runtime interface" (for example the I/O window in C-SPY).

How to do it

version 6.20 and later

Perform the following actions:

  • Disable : Project > Options > Debugger > Setup > "run to"
  • Disable : Tools > Options > Stack > "Disable all checkboxes"
  • Select : Project > Options > General Options > Library configuration > Library low-level interface implementation > None

version 6.10 and 5.x

Perform the following actions:

  • Disable : Project > Options > Debugger > Setup > "run to"
  • Disable : Project > Options > Debugger > Plugins > "stack"
  • Select : Project > Options > General Options > Library configuration > Library low-level interface implementation > None

version 4.xx

Perform the following actions:

  • Disable : Project > Options > Debugger > Setup > "run to"
  • Disable : Project > Options > Debugger > Plugins > "stack"
  • Disable : Project > Options > Linker > Output > Format > "With runtime control modules"

All product names are trademarks or registered trademarks of their respective owners.

Related Tech Notes

© IAR Systems 1995-2016 - All rights reserved.