Disabling Auto Expansions in the VS 2003 C++ debugger

This is an undocumented feature. It is not supported by Microsoft. It may change or cease to exist in future versions. Do not rely on this information. It is provided for your convenience only. If it doesnt work, please do not complain or call Microsoft support. It if does work, hoorah.

In Visual Studio 2003 the C++ debugger expands structs and classes and displays the first three members automatically. This makes tooltips etc much more useful, but for some classes and remote debugging this can really hurt debugger performance.

You can disable this auto-expansion by adding an item like

$Generate=false

in the [Autoexpand] section of autoexp.dat.

This works for VS 2003 only (and the related Xbox debugger).

MSFT disclaimer: This posting is provided "AS IS" with no warranties, and confers no rights.