Skip to content

Instantly share code, notes, and snippets.

@qwzybug
Created January 10, 2014 19:19
Show Gist options
  • Save qwzybug/8360717 to your computer and use it in GitHub Desktop.
Save qwzybug/8360717 to your computer and use it in GitHub Desktop.
obj-c simulator register debugging
c objc lldb register
arg1 self *(int *)($ebp+8)
arg2 CMD *(int *)($ebp+12)
arg3 arg1 *(int *)($ebp+16)
arg4 arg2 *(int *)($ebp+20)
arg5 arg3 *(int *)($ebp+24)
...etc...
@qwzybug
Copy link
Author

qwzybug commented Feb 25, 2014

"frame variable" even easier, often: http://lldb.llvm.org/tutorial.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment