Re: LLDB: Printing Unicode in the Console
Re: LLDB: Printing Unicode in the Console
- Subject: Re: LLDB: Printing Unicode in the Console
- From: Andreas Grosam <email@hidden>
- Date: Thu, 15 Mar 2012 09:05:05 +0100
On Mar 13, 2012, at 8:03 PM, Rick Mann wrote:
> Dunno if this would help, but if you add some category methods to NSData to print the data the way you like, you can probably invoke those from LLDB.
Thanks for the tips so far.
For NSData and friends can easily write a category.
But, for void pointers, as in:
void foo(const void* s, size_t length)
{
// s points to a byte sequence which is encoded in say, UTF-16LE.
}
How can I print the byte sequence formatted as UTF-16LE as a string to the console?
I would expect LLDB would provide a built-in feature for this.
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