Skip to content

Instantly share code, notes, and snippets.

@kastiglione
Last active May 29, 2019 04:09
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kastiglione/20a43fa556b3252778d60af0d8ea2084 to your computer and use it in GitHub Desktop.
Save kastiglione/20a43fa556b3252778d60af0d8ea2084 to your computer and use it in GitHub Desktop.
Mnemonic lldb commands
# 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