DerekSelander / LLDB

A collection of LLDB aliases/regexes and Python scripts to aid in your debugging sessions
GNU General Public License v2.0
1.77k stars 198 forks source link

add cbd script: disabling a breakpoint stopped currently #33

Open po-miyasaka opened 2 years ago

po-miyasaka commented 2 years ago

What cbd is a command. It means "current breakpoint disable or delete". By this command, developers can disable or delete a breakpoint stopped currently easily.

Why When I set breakpoint with rbreak for reverse-engineering, massive breakpoint are made sometimes and furthermore the process often stops at same symbols many times. In this case, it' bothering to delete unnecessary breakpoints by specifying breakpoint number (e.g. break delete 1.585) so I made this command.

How

Screen Shot 2021-09-19 at 8 47 38

Options

(lldb) cbd -s // not continuing the process after disabling the breakpoint

(lldb) cbd -d // deleting the breakpoint 

P.S. I'm a reader of your book Thanks for this amazing book changing my life.