Skip to content

Instantly share code, notes, and snippets.

@izakpavel
Created April 16, 2020 10:25
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save izakpavel/ceefe1f18bff4e69bb7432af7b65960a to your computer and use it in GitHub Desktop.
Save izakpavel/ceefe1f18bff4e69bb7432af7b65960a to your computer and use it in GitHub Desktop.
example of a custom lldb command that prints Data as String
# example of a custom lldb command that prints Data as String
# store in your home (~) directory
command regex printData 's/(.+)/expr print(String(data: %1, encoding: .utf8))/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment