Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS 2010 Debugging - Where's the visualizers

During debugging I was trying to look at a StringBuilder's contents in order to visualize it. I work with a lot of HTML and I would like to be able to view the content in HTML mode like it was possible in VS 2008.

As you can see in the image attached, in 2008 I could very easily get the html mode right in the debugger on the line I wanted. In 2010, I have to call the ToString() method in order to get the same ability.

How can I get the abilities of 2008 back in 2010?

VS 2010 compared to VS 2008

Thank you.

like image 665
AboutDev Avatar asked Mar 18 '11 16:03

AboutDev


1 Answers

I've updated Seth Richards' VS2010 StringBuilder Visualizer solution so that HTML content that may exist in the StringBuilder object will be rendered. You can download the solution here (rename the .xls extension to .zip)- and/or go here for more information on what changes I made to Seth's solution.

Note: The update I made is not as extensive as the default debugger visualizer either. However it, at least, will render your HTML instead of just showing the raw string.

like image 170
Jed Avatar answered Oct 20 '22 01:10

Jed