<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>Debugging</title>
        <link>http://onteorasoftware.com/category/12.aspx</link>
        <description>Debugging</description>
        <language>en-US</language>
        <copyright>Ken Tucker</copyright>
        <generator>Subtext Version 2.1.2.2</generator>
        <item>
            <title>Create a VS 2005 Debugging Visualizer</title>
            <link>http://blog.onteorasoftware.net/archive/2007/09/16/create-a-vs-2005-debugging-visualizer.aspx</link>
            <description>&lt;h3 align="center"&gt;Create a VS 2005 Debugging Visualizer&lt;/h3&gt;&lt;br /&gt;
&lt;p&gt;
Visual Studio 2005 visualizers allow you to see the data contained in a variable.  For this example we will create a visualizer to see the value of a guid.  To create a visualizer we need to start with a class library project.  Add a reference to Microsoft.VisualStudio.DebuggerVisualizers and System.Windows.Forms.  &lt;span style="font-size: 12pt; font-family: 'Times New Roman','serif'"&gt;Set the build output path in the compile tab of my project to My Documents\Visual Studio 2005\Visualizers.  &lt;/span&gt;
&lt;/p&gt;
.&lt;br /&gt;
&lt;br /&gt;
&lt;p&gt;
Imports Microsoft.VisualStudio.DebuggerVisualizers&lt;br /&gt;
Imports System.Windows.Forms 
&lt;/p&gt;
&lt;p&gt;
&amp;lt;Assembly: DebuggerVisualizer(GetType(GuidVisualizer), target:=GetType(Guid), description:="Guid visualizer")&amp;gt; &lt;br /&gt;
Public Class GuidVisualizer&lt;br /&gt;
    Inherits DialogDebuggerVisualizer 
&lt;/p&gt;
&lt;p&gt;
    Protected Overrides Sub Show(ByVal windowService As Microsoft.VisualStudio.DebuggerVisualizers.IDialogVisualizerService, ByVal objectProvider As Microsoft.VisualStudio.DebuggerVisualizers.IVisualizerObjectProvider)&lt;br /&gt;
        Dim g As Guid = CType(objectProvider.GetObject, Guid)&lt;br /&gt;
        MessageBox.Show(g.ToString)&lt;br /&gt;
    End Sub 
&lt;/p&gt;
&lt;p&gt;
End Class 
&lt;/p&gt;
&lt;img src="http://blog.onteorasoftware.net/aggbug/58.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ken Tucker</dc:creator>
            <guid>http://blog.onteorasoftware.net/archive/2007/09/16/create-a-vs-2005-debugging-visualizer.aspx</guid>
            <pubDate>Sun, 16 Sep 2007 19:37:43 GMT</pubDate>
            <wfw:comment>http://blog.onteorasoftware.net/comments/58.aspx</wfw:comment>
            <comments>http://blog.onteorasoftware.net/archive/2007/09/16/create-a-vs-2005-debugging-visualizer.aspx#feedback</comments>
            <wfw:commentRss>http://blog.onteorasoftware.net/comments/commentRss/58.aspx</wfw:commentRss>
        </item>
    </channel>
</rss>