Share via


VS 2003 Tip #12: Better view of data in the debugger windows

In VS 2003 we did some things in C# to make viewing of data in the debugger easier.

The first problem we had was that if you expanded a type, in the watch window, you would get an unsorted list of members. This was a pain if you were searching for a particular member. So we sorted that to begin with.

The second thing we did was that we made the displays of Hashtables and Arraylists easier - sort of more natural. We made it so that when you expand a Hashtable object in the watch window, you see the key value pairs. For an ArrayList we show you what the elements in the list are. This was a big difference from VS7 where you had to root around in the member nodes to find this information.

Are there other data structures that you use regularly that you believe should be easy to see? Let us know.