Hi,
I don´t know, if this is related directly to VisualGDB, or Visual Studio, but I have problem displaying of wchar_t and std::wstring types in watch, when debugging C++ Linux project. I get “error reading variable” instead of text after “L”.
Strange is, that this problem happens only on NXP Yocto SDK built for our ARM i.MX7 board. When I target same project to default GCC on the Debian Linux build machine, variables are displayed correctly.
Only difference, that I was able to find is, that on Debian __WCHAR_TYPE__ is defined as int and on Yocto is defined as unsigned int.
I’m using latest VisualGDB 5.6R5 (built 4569) and Visual Studio 2019.
Anybody with similar problem, or any idea?
Thanks in advance,
Michal
Attachments:
You must be
logged in to view attached files.