[cfe-dev] Easier debugging with Visual Studio Visualizers
dgregor at apple.com
Mon Jul 25 12:48:31 PDT 2011
On Jul 23, 2011, at 6:14 AM, Nikola Smiljanic wrote:
> Hello everyone, I've spent the last couple of days debugging Clang and peeking inside SmallVector and Token really annoyed me so I decided to write some visualizers to make my life easier. I hope somebody else finds this useful and if you have any ideas about other types that should be supported just ask and I'll try to add them.
> There are two ways to make this work:
> 1. Put the path to clangVisualizer.txt in the environmental variable called _vcee_autoexp and restart your Visual Studio. This method should work for Visual Studio 2008 and 2010 and is less invasive.
> 2. Copy everything except the [Visualizer] tag from clangVisualizers.txt to C:\Program Files\Microsoft Visual Studio 10.0\Common7\Packages\Debugger\autoexp.dat. Make sure you backup your original autoexp.dat first. This should work for Visual Studio 2005 and above.
Could you turn these instructions into a patch against
I'd like for this to go into the Clang tree so everyone can get to it, but we need documentation for people to find it.
More information about the cfe-dev