Skip to content

Instantly share code, notes, and snippets.

@navartis
Forked from floatplane/.lldbinit
Created July 2, 2021 14:43
Show Gist options
  • Save navartis/3071692a3802f0cacc8d0c791aa306c7 to your computer and use it in GitHub Desktop.
Save navartis/3071692a3802f0cacc8d0c791aa306c7 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