break.enable

This command enables a breakpoint at the specified address.

Show/hideSyntax

break.enable expression

Where:

expression

Specifies the breakpoint address. This can be either an address, a symbol name, or an expression that evaluates to an address. You can use the syntax symbol\line to refer to a specific source line offset from a symbol.

Show/hideExample

Example 165. break.enable

break.enable 0x8000 ; Enable breakpoint at address 0x8000
break.enable main   ; Enable breakpoint at address of main()
break.enable main+4 ; Enable breakpoint 4 bytes after address of main()
break.enable main\2 ; Enable breakpoint 2 source lines after address of main()

Show/hideSee also

Copyright © 2010, 2011 ARM. All rights reserved.ARM DUI 0452G
Non-ConfidentialID092311