<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Tips for writing an Interop Debugger</title><link>http://blogs.msdn.com/jmstall/archive/2007/01/15/how-to-write-an-interop-debugger.aspx</link><description>I've had a growing number of people inquire about how to write an interop-debugger with ICorDebug. I strongly advise anybody considering writing an interop-debugger to reconsider for reasons listed here . However, for those who can not be dissuaded, and</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Interesting Finds: January 16, 2007</title><link>http://blogs.msdn.com/jmstall/archive/2007/01/15/how-to-write-an-interop-debugger.aspx#1481448</link><pubDate>Wed, 17 Jan 2007 07:00:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1481448</guid><dc:creator>Jason Haley</dc:creator><description /></item><item><title>Interesting Finds: January 16, 2007</title><link>http://blogs.msdn.com/jmstall/archive/2007/01/15/how-to-write-an-interop-debugger.aspx#1481457</link><pubDate>Wed, 17 Jan 2007 07:02:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1481457</guid><dc:creator>Jason Haley</dc:creator><description /></item><item><title>re: Tips for writing an Interop Debugger</title><link>http://blogs.msdn.com/jmstall/archive/2007/01/15/how-to-write-an-interop-debugger.aspx#1553830</link><pubDate>Tue, 30 Jan 2007 02:33:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1553830</guid><dc:creator>Alois Kraus</dc:creator><description>&lt;p&gt;Hi Mike,&lt;/p&gt;
&lt;p&gt;do you know a way to modify existing pdbs to preserve the debugging experince when doing a full ILDASM/ILASM round trip like here: &lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://geekswithblogs.net/akraus1/archive/2007/01/23/104288.aspx"&gt;http://geekswithblogs.net/akraus1/archive/2007/01/23/104288.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When I load the changed dlls into the debugger my breakpoints stay gray. I guess this is because the debugger compares some hashes at module level which I would have to change to get a decent debugging experience. Is that the only obstacle or are more things lurking inside a pdb file?&lt;/p&gt;
&lt;p&gt;Yours,&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Alois Kraus&lt;/p&gt;</description></item><item><title>round tripping PDBs</title><link>http://blogs.msdn.com/jmstall/archive/2007/01/15/how-to-write-an-interop-debugger.aspx#1570619</link><pubDate>Thu, 01 Feb 2007 09:41:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1570619</guid><dc:creator>jmstall</dc:creator><description>&lt;p&gt;Alois -&lt;/p&gt;
&lt;p&gt;There may be some tips about debuggability and round-tripping here: &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/jmstall/archive/2006/01/13/debug-roundtripping.aspx"&gt;http://blogs.msdn.com/jmstall/archive/2006/01/13/debug-roundtripping.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The pdbs have a hash of the source files used at a compile time. If you change a source file, the hash mismatches. I've been meaning to write a blog entry demonstrating this.&lt;/p&gt;
&lt;p&gt;The latest MDbg sample (download link available at &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/jmstall/archive/2005/11/08/mdbg_linkfest.aspx"&gt;http://blogs.msdn.com/jmstall/archive/2005/11/08/mdbg_linkfest.aspx&lt;/a&gt;) also has a Pdb&amp;lt;--&amp;gt;Xml tool, complete with a demo of converting a pdb to an xml file, editing it, and converting it back. That's more academic, but I'm mentioning it for completeness sake.&lt;/p&gt;
&lt;p&gt;If all else fails, you may want to ask that over on the forums at &lt;a rel="nofollow" target="_new" href="http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=868&amp;amp;SiteID=1"&gt;http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=868&amp;amp;SiteID=1&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>