Lldb Breakpoint Stuff


Blog categories: 

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 

Depending on the task you might find those commands useful:

command description example
br s -M set breakpoint at method br s -M Symbolname
br l list breakpoints br l
br del delete breakpoints br del / br del 5 / br del 1.4
r go / run application r
thread until N run application until a certain line thread until 100

That’s it,