• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [C++] developers -- how you watch Unicode strings in debugger?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [C++] developers -- how you watch Unicode strings in debugger?


  • Subject: Re: [C++] developers -- how you watch Unicode strings in debugger?
  • From: Andreas Grosam <email@hidden>
  • Date: Fri, 13 Apr 2012 08:37:15 +0200

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? :-)


Please write a bug report.


Currently, the contents to a pointer to wchar_t, a std::wstring and an array of wchar_t will not be displayed.

Additionally, the "type information" is wrong, too. For instance

    wchar_t wbuffer[] = L"xyz";
    std::wcout << "wchar_t buffer[]: " << wbuffer << std::endl;

    const wchar_t* wstr = L"xyz";
    std::wcout << "const wchar_t* wstr: " << wstr << std::endl;

    std::wstring wstring = L"xyz";
    std::wcout << "std::wstring wstring: " << wstring << std::endl;



The debugger displays this in the variable pane:

wbuffer(int [4])
wstr(const int *)	0x000000010b389ec0
wstring(std::wstring)



Note that the values are not displayed, and type information is (partly) wrong.

Trying to display the value as "Unicode 32" has no positive effect.



Regards
Andreas


>
>
>
> --
> 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

References: 
 >[C++] developers -- how you watch Unicode strings in debugger? (From: Ruslan Zasukhin <email@hidden>)

  • Prev by Date: Where does XCode 4.3.2 store account information?
  • Next by Date: Cannot use Instruments
  • Previous by thread: Re: [C++] developers -- how you watch Unicode strings in debugger?
  • Next by thread: Where does XCode 4.3.2 store account information?
  • Index(es):
    • Date
    • Thread