The following are the
commands followed by their options (if any) and the Python method for the option (if
any).
bpadd
- -addr <breakpoint-address>
-
t = self.session.targets(id=2) b1 = t.bpadd(addr='main')
- -file <file-name>
-
t.bpadd('helloworld.c:90', type='hw', mode=3) t.bpadd(file='helloworld.c', line=89)
- -line <line-number>
-
t.bpadd(file='helloworld.c', line=89)
- -type <breakpoint-type>
-
t.bpadd(addr='main', type='hw', mode=2)
- -mode <breakpoint-mode>
-
t.bpadd(addr='main', type='hw', mode=2)
- -enable <mode>
-
t = self.session.targets(id=2) b1 = t.bpadd(addr='main', enable=1)
- -ct-input <list> -ct-output <list>
-
t.bpadd(ct_input=0, ct_output=8, skip_on_step=1)
- -skip-on-step <value>
-
t.bpadd(ct_input=0, ct_output=8, skip_on_step=1)
- -target-id <id>
-
b1 = t.bpadd(addr='main', target_id='all')
bpdisable
The following are options for the command followed by their Python method.
- <id-list>
-
t.bpdisable(bp_ids=1) t.bpdisable(bp_ids=[1, 2])
- -all
-
t.bpdisable('--all')
bpenable
- <id-list>
-
t.bpenable(bp_ids=1) t.bpenable(bp_ids=[1, 2])
- -all
-
t.bpenable('--all')
bplist
The following is the command's Python method
t.bplist()
bpremove
- <id-list>
-
t.bpremove(bp_ids=2) t.bpremove(bp_ids=[1,2])
- -all
-
t.bpremove('--all')
bpstatus
- <id>
-
t.bpstatus(bp_id=3)