Debugging with the Console
So how does this all work, anyway? All the features of Xcode’s debugger are provided by the Low Level Debugger (LLDB), which combines reusable components from the larger LLVM project. LLDB is deeply integrated into Xcode, but also exists in other forms, such as a command-line executable.
The Many Faces of LLDB | |
---|---|
LLDB also powers the Swift REPL (Read, Evaluate, Print, Loop), which allows you to work with Swift code interactively on the command line. Try it out sometime by typing swift in the Terminal app. LLDB also offers a Python API to interact with debugging sessions programatically. The LLDB website at http://lldb.llvm.org/ ... |
Get Xcode Treasures 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.