break.set

This command sets a software breakpoint at the specified address.

Show/hideSyntax

break.set expression [/flag]

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.

flag

Specifies an additional flag:

disable

Disables the breakpoint immediately after setting it.

Show/hideExample

Example 168. break.set

break.set 0x8000      ; Set breakpoint at address 0x8000
break.set main        ; Set breakpoint at address of main()
break.set main+4      ; Set breakpoint 4 words after address of main()
break.set main\2      ; Set breakpoint 2 source lines after address of main()

Show/hideSee also

Copyright © 2010-2012 ARM. All rights reserved.ARM DUI 0452L
Non-ConfidentialID100912