The lldb Command Line

The conditions and commands that you can put into a breakpoint-options popover are just a taste of what you can do with the lldb command line. The lldb command language is large but much more compact and consistent than gdb’s. Nobody can say for sure that it’s more powerful, but one of the reasons Apple replaced gdb is that the complex of gdb settings and command options is so intricate that few users can get the maximum value out of it.

The general pattern of lldb commands is

noun verb options... arguments...

The noun portion classifies the available commands. The subsequent verbs and options refine your input to specific actions. The following is a list of built-in, permanent debugger command ...

Get Xcode 5 Start to Finish: iOS and OS X Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.