2.3.5 break.set

Sets a software breakpoint at the specified address.

Syntax

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.

Example 2-5 Examples

break.set 0x8000      ; Set breakpoint at address 0x8000
break.set main        ; Set breakpoint at address of main()
break.set main+4      ; Set breakpoint 4 bytes after address of main()
break.set main\2      ; Set breakpoint 2 source lines after address of main()
Non-ConfidentialPDF file icon PDF versionARM DUI0452Z
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.