2.4 Breakpoints

The following table shows the MxScript functions that relate to breakpoints and their iris.debug equivalent:

Table 2-3 Breakpoints functions

MxScript function iris.debug equivalent
bpAdd(address) bp = target.add_bpt_prog(address)
bpAdd(file, line) Not implemented
bpAddReg(reg_name) bp = target.add_bpt_reg(reg_name)
bpAddMem(address) bp = target.add_bpt_mem(address)
bpRemove(id) bp.delete()
bpRemoveAll()
for bp in target.breakpoints.values():
    bp.delete()
bpEnable(id) bp.enable()
bpDisable(id) bp.disable()
bpEnableAll()
for bp in target.breakpoints.values():
    bp.enable()
bpDisableAll()
for bp in target.breakpoints.values():
    bp.disable()
bpList() target.breakpoints
bpSetTriggerType() Not implemented
bpSetIgnoreCount() Not implemented
bpSetCond() Not implemented
bpIsHit(id) bp.is_hit
Non-ConfidentialPDF file icon PDF version101421_0100_00_en
Copyright © 2018 Arm Limited or its affiliates. All rights reserved.