Created
April 16, 2020 10:25
-
-
Save izakpavel/ceefe1f18bff4e69bb7432af7b65960a to your computer and use it in GitHub Desktop.
example of a custom lldb command that prints Data as String
This file contains hidden or 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
# 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