Lldb Breakpoint Stuff

Just like in my previous post I need to jot down some useful commands for Lldb because I need to look them up so often. It contains standard breakpoint handling and running - just the very simple basics I should never forget. Note that this document will grow over time, hopefully.

First of all, do not forget to prepend xcrun to lldb, that makes it much more useable:

xcrun lldb <executable>

Depending on the task you might find those commands useful:

commanddescriptionexample
br s -Mset breakpoint at methodbr s -M Symbolname
br llist breakpointsbr l
br deldelete breakpointsbr del / br del 5 / br del 1.4
rgo / run applicationr
thread until Nrun application until a certain linethread until 100

That’s it,
iss