3.5.5 Breakpoint properties

The Breakpoint class defines the following properties:

address

The memory address at which this breakpoint is set. Only valid for code and data breakpoints.

bpt_type

The name of the breakpoint type. Valid values are:

ProgramCode breakpoint.
MemoryData breakpoint.
RegisterRegister breakpoint.
enabled

True if the breakpoint is currently enabled.

is_hit

True if the breakpoint was hit the last time the target was running.

memory_space

The name of the memory space in which this breakpoint is set.

Only valid for code and data breakpoints.

number

Identification number of this breakpoint.

This number is the same as the key in the Target.breakpoints dictionary.

If the number is non-negative, it is equal to the bptId and the breakpoint is enabled. If the number is negative, the breakpoint is disabled.

This number is only valid until the breakpoint is deleted, and breakpoint numbers can be reused and modified.

on_modify

Deprecated. True if this breakpoint is triggered on modify. Only valid for register and memory breakpoints.

on_read

True if this breakpoint is triggered by reads. Only valid for register and memory breakpoints.

on_write

True if this breakpoint is triggered by writes. Only valid for register and memory breakpoints.

register

The name of the register on which this breakpoint is set. Only valid for register breakpoints.

Non-ConfidentialPDF file icon PDF version101421_0100_01_en
Copyright © 2018, 2019 Arm Limited or its affiliates. All rights reserved.