Visual Studio.NET

There are 1 entries for the tag Visual Studio.NET

Change The Display Of A Type In The Debugger

Keyvan Nayyeri has a great tip for how to control the display of a type in the various debugger windows using a DebuggerTypeProxy attribute.  His post includes screenshots with this in use. This is an attribute you can apply to a class, assembly, or struct to specify another class to examine within a debugger window.  You still get access to the raw view of the original type, just in case some other developer plays a practical joke on you by specifying a DebuggerTypeProxy that displays the value of every field as being 42. Tags: .NET, C#, Debugging, Visual Studio.NET, Tips