Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio .NET
Debugging
Using the Debugger
 Displaying Elements of a Custom Dat...

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2003/.NET Framework 1.1

Other versions are also available for the following:
Visual Studio
Displaying Elements of a Custom Data Type

Native Code

When you are using interface elements such as the Watch window, the Visual Studio debugger automatically expands common data types to show their most important elements. If you have your own custom data types that you want the debugger to autoexpand, you can add rules to the file autoexp.dat, which is located in the \bin directory. Instructions on how to write autoexp rules are located in the file itself.

Note   The structure of this file and the syntax of autoexp rules may change from one release of Visual Studio to the next.

Managed Code

Instead of using autoexpand.dat to control autoexpand rules in managed code, the managed expression evaluator uses mcee_mc.dat for Managed Extensions for C++ and mcee_cs.dat for C#. You can find these files in the debugger package directory.

See Also

Debugging Tools for Inspecting Your Program

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker