Skip to content

Instantly share code, notes, and snippets.

@floatplane
Created May 7, 2015 17:05
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save floatplane/37c2e98c0855ce19f37f to your computer and use it in GitHub Desktop.
Save floatplane/37c2e98c0855ce19f37f to your computer and use it in GitHub Desktop.
Sample .lldbinit
# This file contains commands that LLDB will execute at startup. Drop it in your
# home directory: ~/.lldbinit
# Dump the UIKit view hierarchy
command regex rd 's/[[:space:]]*$/po [[[UIApplication sharedApplication] keyWindow] recursiveDescription]/' 's/.+$/po [%1 recursiveDescription]/'
# Try not to step into uninteresting library code. Needs some work.
settings set target.process.thread.step-avoid-regexp ^(std::(!function)|boost::shared_ptr)
# https://github.com/facebook/chisel
command script import /usr/local/opt/chisel/libexec/fblldb.py
# Load FiftyThree type summaries and command aliases
command script import /Users/brian/src/Paper/Utilities/xcode/lldb.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment