Oct 24, 2001
Unicode and the Watch Debugger Window
Managing Unicode strings (LPWSTR, BSTRs, etc.) is now a very common task. However, Visual Studio 6 does not allow you to view Unicode strings correctly in the watch window. It simply displays the first character, believing that the variable points to an ANSI string.
To enable Unicode string debugging, get into the Tools/Options menu and check "Display unicode strings" in the "Debug" tab.
You will then be able to watch either Unicode or ANSI strings.