Re: [C++] developers -- how you watch Unicode strings in debugger?
Re: [C++] developers -- how you watch Unicode strings in debugger?
- Subject: Re: [C++] developers -- how you watch Unicode strings in debugger?
- From: Sebastien Metrot <email@hidden>
- Date: Fri, 13 Apr 2012 00:28:06 +0200
This problem was one of the reasons for moving all my code base from wchar_t* to char* (and utf8). If your code really is unicode aware you will have to handle many special cases where one codepoint!=one glyph/entity anyway (diacritics, normalization, etc). Enumerating unicode code points in an utf8 string is easy to implement and it forces you to really think about semantics of what you want to do with the text.
And it displays nicely in the debugger, even as an std::string ;-).
S.
--
Sebastien Metrot
Yasound - CTO - Cofounder
email@hidden
On Apr 12, 2012, at 10:03 PM, Ruslan Zasukhin wrote:
> Hi C++ developers,
>
> Using 4.3.2 XCODE and even LLVM debugger
> We still was disappointed that debugger is not able show unicode strings.
>
> Actually even std::strings (wchar_t*) are not shown ...
>
> We need each time open memory browser to see Letters ...
>
>
> Any hint?
>
> How to live without this? :-)
>
>
>
> --
> Best regards,
>
> Ruslan Zasukhin
> VP Engineering and New Technology
> Paradigma Software, Inc
>
> Valentina - Joining Worlds of Information
> http://www.paradigmasoft.com
>
> [I feel the need: the need for speed]
>
>
> _______________________________________________
> 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
_______________________________________________
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