Created
June 1, 2016 13:19
-
-
Save marco-we/9e193166cb85cda1aeb61af1ce822451 to your computer and use it in GitHub Desktop.
lldb print 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
if you want to print an char* via lldb, lldb only prints the first about 300 characters. to print the complete one just type: | |
`set set target.max-string-summary-length 10000` | |
in the lldb command line. now the first 10000 characters are print via: | |
`p someCharPointer` | |
(source: http://www.web0.at/lldb-print-complete-char-string/) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In VsCode's Code lldb setting