Skip to content

Instantly share code, notes, and snippets.

@jkereako
Last active July 2, 2018 23:16
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jkereako/d65a3f258e049aad99caf1775184aec7 to your computer and use it in GitHub Desktop.
Save jkereako/d65a3f258e049aad99caf1775184aec7 to your computer and use it in GitHub Desktop.
LLDB cheat sheet

Print frame variables Reads variables in the current stack frame

(lldb) frame variable

Print general purpose registers Useful for EXC_BAD_ACCESS crashes

(lldb) register read

Print content of memory address

(lldb) memory read 0x7c7dac20

Demangle a Swift symbol

(lldb) language swift demangle <mangled_name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment