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.
Written by Zoreslav Khimich
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Xcode
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#