diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-07-27 05:22:46 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-07-27 05:22:46 +0000 |
commit | 3ef1ad2d28ef5a9b6ac7ec0bd4b2360a4ae3ee8b (patch) | |
tree | 6863070b95179285abbf9fa8547fc8a7796336c0 /www | |
parent | 990567cb60e8530ba01b41d4e056e32b44b95ec0 (diff) |
Easier debugging with Visual Studio Visualizers, from Nikola Smiljanic!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136207 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'www')
-rw-r--r-- | www/hacking.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/www/hacking.html b/www/hacking.html index 969a39c559..b65768c987 100644 --- a/www/hacking.html +++ b/www/hacking.html @@ -86,6 +86,28 @@ </ul> <!--=====================================================================--> + <h3 id="debuggingVisualStudio">Debugging using Visual Studio</h3> + <!--=====================================================================--> + + <p>The file <tt>utils/clangVisualizers.txt</tt> provides debugger visualizers that make debugging + of more complex data types much easier.</p> + <p>There are two ways to install them:</p> + + <ul> + <li>Put the path to <tt>clangVisualizers.txt</tt> in the environment variable called + <tt>_vcee_autoexp</tt>. This method should work for Visual Studio 2008 and above. + </li> + <li>Edit your local <tt>autoexp.dat</tt> (make sure you make a backup first!), + located in <tt>Visual Studio Directory\Common7\Packages\Debugger</tt> and append + the contents of <tt>clangVisuailzers.txt</tt> to it. This method should work for + Visual Studio 2005 and above. + </li> + </ul> + + <p><i>[Note: To disable the visualizer for any specific variable, type + <tt>variable_name,!</tt> inside the watch window.]</i></p> + + <!--=====================================================================--> <h2 id="testing">Testing</h2> <!--=====================================================================--> |