Skip to content

Instantly share code, notes, and snippets.

@sburlot
Created Jun 30, 2013
Embed
What would you like to do?
Macros for lldb
# from https://gist.github.com/mike3k/4513568
# rd: print a recursive description of views
command regex rd 's/^[[:space:]]*$/po [[[UIApplication sharedApplication] keyWindow] recursiveDescription]/' 's/^(.+)$/po [%1 recursiveDescription]/'
# prect: print the properties of a rect
command regex prect 's/(.+)/print (CGRect)%1/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment