Skip to content

Instantly share code, notes, and snippets.

@onevcat
Last active August 14, 2017 02:17
Show Gist options
  • Save onevcat/474f6a68458409de2ca60e5701a36a08 to your computer and use it in GitHub Desktop.
Save onevcat/474f6a68458409de2ca60e5701a36a08 to your computer and use it in GitHub Desktop.
My LLDB init
command script import "~/Library/Application Support/Realm/rlm_lldb.py" --allow-reload
command script import /usr/local/opt/chisel/libexec/fblldb.py
command alias -H "Print description in ObjC context" -h "Print in ObjC" -- cpo expression -l objc -O --
command alias -H "Print description in Swift context" -h "Print in Swift" -- spo expression -l swift -O --
command alias -H "Print value in ObjC context in hexadecimal" -h "Print in hex" -- cpx expression -f x -l objc --
settings set target.x86-disassembly-flavor intel
settings set target.skip-prologue false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment