LLDB: Printing Unicode in the Console
LLDB: Printing Unicode in the Console
- Subject: LLDB: Printing Unicode in the Console
- From: Andreas Grosam <email@hidden>
- Date: Tue, 13 Mar 2012 11:06:21 +0100
Is it somehow possible to format and print a byte array or a pointer to bytes (say NSData, or a pointer to void) whose content is an Unicode sequence to the Debugger console?
It seems, we can't print anything other than a char* as a zero terminated C-string, and NSString variables formatted as a human readable string.
I would like to able to print any byte sequences interpreted as the specified Unicode encoding scheme (UTF-8, UTF-16LE, UTF-16BE, etc.) with an optional length attribute for the number of bytes consumed from the input, or optionally terminated by Unicode NULL.
Other encodings would be nice, too. Is it possible to extend LLDB in any fashion?
Andreas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden