<div dir="ltr">FWIW, GDB has a visualizer system in python - I wrote up some visualizers for SmallVector, etc, but I couldn't find a way to plug them in for free into GDB (everything required some reconfiguration of GDB to point to a script directory or the like). I might check them in anyway with a README telling people how to set them up if they want to.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 16, 2016 at 9:59 AM, C Bergström <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Looks cool! I'm not a VS guy - how did you achieve this? Was there some source changes in clang or is this a plugin that leverages clang for VS?<br><br></div>Thanks<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Mar 16, 2016 at 11:04 PM, Michael Spertus via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div link="#0563C1" vlink="#954F72" lang="EN-US"><div><p class="MsoNormal">Chandler suggested that I socialize the improvements that I have been making to Clang data structure visualizations in Visual Studio. For example, these changes replace the traditional incomprehensible Locals/Watch display of a <span style="font-family:"Courier New"">TemplateArgumentLoc</span><u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><img src="cid:image001.png@01D17F67.DF4057B0" height="122" width="994"><u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Now it clearly displays that it is a Type Template Parameter where <span style="font-family:"Courier New"">T</span> has been replaced by <span style="font-family:"Courier New"">struct A</span>.<u></u><u></u></p><p class="MsoNormal"><img src="cid:image002.png@01D17F69.FE944AC0" height="121" width="884"><u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I only have a small portion of the Clang data types done so far, but it is already really helping me keep track of what is going on while debugging Clang (It’s also been an excellent way for me to learn Clang data structures <span style="font-family:Wingdings">J</span> ). I will be continuing to add further visualizations over the next few weeks and ongoing. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I hope these prove helpful to the community,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Mike<u></u><u></u></p></div></div><br></div></div>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div>