So, what is this LLDB? Why do we see it at the console whenever we hit a breakpoint (or a bug)? This is the LLDB prompt:
(lldb)
Well, LLDB stands for low level debugger, and it does what it says it does. It actually does a bit more than that, which we'll get to very soon. LLDB makes use of several components from the LLVM project, which is basically a compiler, parser, and loads of other stuff that we need (or Xcode needs) to build a program. However, as interesting as that is to explore it is beyond the scope of this book, and we will focus entirely on the debugger in this chapter.
LLDB is not only available in the debug area console of Xcode, where we have made frequent use of it already, it can also be used at the command line, which we will also cover in this chapter.
The LLDB interface is a very powerful tool; you can print to it from your code, you can interact with it, configure it to...