Last Updated: February 25, 2016
·
1.618K
· zrxq

Redirect lldb output to Sublime Text

Sometimes the default debug output window in Xcode just doesn't cut it – for example, when you need to print out a rather large array or dictionary, or a string containing some lengthy XML. It's possible to redirect any lldb command output to the Sublime Text editor (or any other text editor of your choice) using this gist.

You'll have to create/edit ~/.lldbinit to make this work.

Make sure you have subl command line tool installed.