I had a similar problem -- I tried a couple different kinds of change
in my autoexp.dat and saw no effect from them. However, I'm certain
that I'm editing the right file because when I made syntax errors, I
got an error about them and fixed them. The changes I was trying to
1. A visualization section for a list type we use. It looks like:
"List of ",
[raw members]: [$e,!],
expr : (Foo::Bar::myBaseObjectType**)($e._data),
size : $e._count
2. An ExecutionControl section to prevent the debugger stepping into
an overloaded operator on a smart pointer class:
I was concerned that the template might be a problem for the latter.
I also found an article describing a way to do this with registry
keys, but that produced no results for me either. Anyone know what
the problem might be?
Post by Ondrej Spanel
The only explanation for me is you are changing a wrong file. What you
describe should change the autoexpansion - we are adding our own custom
visualizers into the file and they work, and we are able to change them
later (this is with VS 2005 on WinXP).
C:\Program Files\Microsoft Visual Studio 8\Common7\Packages\Debugger\autoexp.dat
When on Vista x64, I think you should be double carefull you are editing
the correct file, as there are different locations for x86 and x64
binaries - I did not check this on x64, therefore I am not sure how
exactly is that relevant, but it is something who should be aware of.
Post by firstname.lastname@example.org
I am trying to add visualizers for custom data types to the
autoexp.datfile of vs2005 (\Common7\Packages\Debugger\autoexp.dat).
But no matter what changes I make, the behavior of the debug
visualizer does not change. For example, I can delete everything in
the [Visualizer] group of theautoexp.datfile and still debug
applications with the same visualizing behavoir for the built-in stl
container as if I hadn't touched theautoexp.datfile at all. Is there
anything I am missing here? I make changes to the file, save and
restart vs2005. I am using Vista (64).