1.3.9 break-set-property

Updates the properties of an existing breakpoint.

Syntax

break-set-property number property

Where:

number

Specifies the breakpoint number. This is the number assigned by the debugger when it is set. You can use info breakpoints to display the number and status of all breakpoints.

property

Specifies the property to set. The valid properties are:

if [expression]

Specifies an expression that is evaluated when the breakpoint is hit. If the value of the expression evaluates to true, then the debugger stops the target, otherwise execution resumes. If no expression is specified then the breakpoint condition is deleted.

core [id]

The current core ID. You can use info cores, info processes, or info threads to display the ID numbers.

thread [id]

The current thread ID. You can use info cores, info processes, or info threads to display the ID numbers.

Other target-dependent properties

This command supports other properties depending on your target. Use the info breakpoints capabilities command to display a list of properties that you can use for the current connection.

Example 1-12 Examples

break-set-property 4 if myVar1 == 2   # Update the 'if' property of breakpoint 4,
                                      # meaning the breakpoint will only be hit if
                                      # myVar1 evaluates to 2
Non-ConfidentialPDF file icon PDF versionARM DUI0452Z
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.