Created
July 12, 2013 05:05
-
-
Save mayoff/5981717 to your computer and use it in GitHub Desktop.
My .lldbinit for Cocoa Coders
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# command alias rd expression -o -- [[UIApp keyWindow] recursiveDescription] | |
command regex rd 's/^[[:space:]]*$/po [[UIApp keyWindow] recursiveDescription]/' 's/^(.+)$/po [%1 recursiveDescription]/' | |
command regex rsd 's/.*/po [UIApp Rob_recursiveSceneDescription]/' | |
command script import ~/.../lldb/sniff_objc_exception_throw.py | |
command regex hcons 's/^(.+)$/po [(id)%1 constraintsAffectingLayoutForAxis:0]/' | |
command regex vcons 's/^(.+)$/po [(id)%1 constraintsAffectingLayoutForAxis:1]/' | |
command regex cons 's/^(.+)$/script lldb.debugger.HandleCommand("po [(id)%1 constraintsAffectingLayoutForAxis:0]"); lldb.debugger.HandleCommand("po [(id)%1 constraintsAffectingLayoutForAxis:1]")/' | |
command regex altrace 's/^[[:space:]]*$/po [[UIApp keyWindow] _autolayoutTrace]/' 's/^(.+)$/po [%1 _autolayoutTrace]/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment