Created
November 14, 2013 03:38
-
-
Save dealforest/7460938 to your computer and use it in GitHub Desktop.
https://speakerdeck.com/dealforest/debugger-false-tips で紹介した Command
This file contains hidden or 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
define pv | |
if $argc == 0 | |
po [[[UIApplication sharedApplication] keyWindow] recursiveDescription] | |
end | |
if $argc == 1 | |
po [$arg0 recursiveDescription] | |
end | |
end | |
define st | |
po [NSThread callStackSymbols] | |
end |
This file contains hidden or 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 regex pv 's/^[[:space:]]*$/po [[[UIApplication sharedApplication] keyWindow] recursiveDescription]/' 's/^(.+)$/po [%1 recursiveDescription]/' | |
command regex st 's/^[[:space:]]*$/po [NSThread callStackSymbols]/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment