Advanced Debugging with Xcode – Extending LLDB

If you’ve ever written an app that fetches JSON from a server, you may have wanted to examine it to figure out if your app fails because of a client bug or because the JSON isn’t what you expected. Of course, there are ways to examine strings from within your XCode debugging session, but there are some extremely powerful third-party tools out there that make JSON examination and manipulation very easy. Wouldn’t it be nice if you could use those tools from within your lldb session?

Wonder no more! LLDB has a built-in Python interpreter. With some simple Python scripting you will be able to extend LLDB so that those third-party tools can have access to your NSStrings (or Swift strings, of course). No more switching to Terminal and pasting text and then switching back to XCode. Do everything from within an XCode breakpoint, if you want.

If you don’t know Python, or don’t fetch JSON, don’t fret: By the time we’re done, you will know how to extend LLDB to do things that aren’t on the XCode feature list.

Location: Grand Ballroom Date: August 28, 2018 Time: 2:45 pm - 3:15 pm Aijaz Ansari

Privacy Preference Center


Behavior tracking, to improve the site for visitors

Google Analytics, Facebook