Last active
May 29, 2019 04:09
-
-
Save kastiglione/20a43fa556b3252778d60af0d8ea2084 to your computer and use it in GitHub Desktop.
Mnemonic lldb commands
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
# Calling functions | |
expression CATransaction.flush() | |
call CATransaction.flush() | |
# Assigning variables | |
expression didLoad = true | |
command alias assign expression -- | |
assign didLoad = true | |
# Symbolic breakpoints | |
breakpoint set --name "-[UILabel setText:]" | |
b -[UILabel setText:] | |
# Temporary breakpoints | |
breakpoint set --one-shot true --name "-[UILabel setText:]" | |
tbreak -[UILabel setText:] | |
# Skipping over code | |
thread jump --by 1 | |
jump +1 | |
thread jump --line 41 | |
jump 41 | |
# Registers | |
register read arg1 arg2 arg3 arg4 arg5 arg6 | |
command alias args register read arg1 arg2 arg3 arg4 arg5 arg6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment