How do you display the contents of your custom classes. When you hover over a variable in the debugger, it shows you the contents of the variable. How do you do that for your own classes?

In the directory C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Packages\Debugger, there is a file named mcee_cs.dat that contains the various definitions for how they should display in the debugger.

Add the following line to the mcee_cs.dat file:

<yourNameSpace.yourClassName>=V1=<memberVar1> V2=<memberVar2>

You'll first need to shut down Visual Studio and then when you debug the program you can hover over the custom classes and see their contents.