Wednesday, April 20, 2011

How to "watch" character values of a string on Visual Studio?

I remember I could add modifiers to a watched variable during debugging to make its display in different formats in Delphi. Such as "str,m" would display string in its binary representation.

Similarly I'd like to look at binary representation of a string to see character values for .NET applications on Visual Studio 2008. What's the easiest way of doing it?

Note: "Hexadecimal Display" option doesn't work on strings.

From stackoverflow


Post a Comment