How to get Eclipse CDT debugger to display Unicode string contents?

I have a C ++ project that makes great use of Unicode ICU strings. I recently started using the Eclipse CDT IDE, but I cannot watch the contents of the lines during debugging. The only options are to print them in logs or drop them to std::string .

Does anyone know how to get Eclipse to display the contents of ICU strings in the expression view?

Update: This seems to be a known issue with Eclipse . GDB does not parse the contents of Unicode strings. You can add macros / functions to allow GDB to parse them, but how can I get Eclipse to use them in the expression box during debugging?

+7
source share

All Articles