| |||
| Home > Debug > Debug events > Software debug event | |||
A software debug event is any of the following:
A watchpoint debug event. This occurs when:
the DVA present in the data bus matches the watchpoint value
all the conditions of the WCR match
the watchpoint is enabled
the linked Context ID-holding BRP (if any) is enabled and its value matches the context ID in CP15 c13.
A breakpoint debug event. This occurs when:
an instruction was fetched and the IVA present in the instruction bus matched the breakpoint value
at the same time the instruction was fetched, all the conditions of the BCR matched
the breakpoint was enabled
at the same time the instruction was fetched, the linked Context ID-holding BRP (if any) was enabled and its value matched the context ID in CP15 c13
the instruction is now committed for execution.
A breakpoint debug event also occurs when:
an instruction was fetched and the CP15 Context ID (register 13) matched the breakpoint value
at the same time the instruction was fetched, all the conditions of the BCR matched
the breakpoint was enabled
the instruction is now committed for execution.
A software breakpoint debug event. This occurs when a BKPT instruction is committed for execution.
A vector catch debug event. This occurs when:
The instruction at a vector location was fetched. This includes any kind of prefetches, not just the ones due to exception entry.
At the same time the instruction was fetched, the corresponding bit of the VCR was set (vector catch enabled).
The instruction is now committed for execution.