Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

Unicode string display in Visual Studio 2102 debugger

$
0
0

I am a longtime Visual Studio user.  I recently moved from VS2008 to VS2012.  All of my development is in either pure C or C++.  I do not develop in C# or use managed code objects.  Since I began using VS2012, I find that I cannot display Unicode character strings in the debugger by hovering my cursor over their variable names.  When I enter a Unicode variable name in the 'watch' window, I must follow it with either ',su' or ',sub' to see the Unicode contents.  If the variable is an element of a structure, I must but the ',su' or ',sub' suffix on the structure name and then all elements of the structure are displayed as Unicode strings.  This is extremely annoying.

Normal ASCII strings of 8-bit characters work exactly as they did in VS2008.  Is there any way to revert to the debugger behavior of VS2008 and earlier versions of Visual Studio for Unicode strings?

Note that when I say 'Unicode string variables' I mean local variables, function parameters and structure elemens that are declared as 'wchar_t *'.


Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>