Skip to content

Instantly share code, notes, and snippets.

@alikaragoz
Created January 1, 2013 15:21
Show Gist options
  • Save alikaragoz/4428101 to your computer and use it in GitHub Desktop.
Save alikaragoz/4428101 to your computer and use it in GitHub Desktop.
LLDB Config
// Recursive description
command regex rd 's/^[[:space:]]*$/po [[UIApp keyWindow] recursiveDescription]/' 's/^(.+)$/po [%1 recursiveDescription]/'
// Reveal
command alias reveal_load_sim expr (void*)dlopen("/Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries/libReveal.dylib", 0x2);
command alias reveal_load_dev expr (void*)dlopen([(NSString*)[(NSBundle*)[NSBundle mainBundle] pathForResource:@"libReveal" ofType:@"dylib"] cStringUsingEncoding:0x4], 0x2);
command alias reveal_start expr (void)[(NSNotificationCenter*)[NSNotificationCenter defaultCenter] postNotificationName:@"IBARevealRequestStart" object:nil];
command alias reveal_stop expr (void)[(NSNotificationCenter*)[NSNotificationCenter defaultCenter] postNotificationName:@"IBARevealRequestStop" object:nil];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment