<?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>Use !htrace to debug handle leak</title><link>http://blogs.msdn.com/junfeng/archive/2008/04/21/use-htrace-to-debug-handle-leak.aspx</link><description>Windbg Debugger’s !htrace extension is very handy to debug handle leak. The process essentially boils down to the following simple steps: 1. Enable trace 2. Take a snapshot 3. Run scenario 4. Show the diff On step 4, !htrace will show all the extra opened</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Microsoft news and tips &amp;raquo; Use !htrace to debug handle leak</title><link>http://blogs.msdn.com/junfeng/archive/2008/04/21/use-htrace-to-debug-handle-leak.aspx#8414877</link><pubDate>Mon, 21 Apr 2008 19:01:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8414877</guid><dc:creator>Microsoft news and tips &amp;raquo; Use !htrace to debug handle leak</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://microsoftnews.askpcdoc.com/?p=3494"&gt;http://microsoftnews.askpcdoc.com/?p=3494&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Use !htrace to debug handle leak</title><link>http://blogs.msdn.com/junfeng/archive/2008/04/21/use-htrace-to-debug-handle-leak.aspx#8415148</link><pubDate>Mon, 21 Apr 2008 21:30:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8415148</guid><dc:creator>Koby Kahane</dc:creator><description>&lt;p&gt;!htrace is an awesome extension, easily one of my favorites.&lt;/p&gt;
&lt;p&gt;I recall debugging a registry handle leak in third-party code and a desktop handle leak in in-house code, among other things, using this great tool.&lt;/p&gt;
&lt;p&gt;A great example of the added value of dbgeng extensions given to Windbg over alternative debuggers such Ollydbg, Visual Studio, etc.&lt;/p&gt;
&lt;p&gt;I think that in a more general sense, some great capabilities of App Verifier are unknown to the developer community at large and should be evangelized more. &lt;/p&gt;
&lt;p&gt;Hopefully options providing finer granularity will be added to the !htrace extension command in future DTW releases, allowing filtering handles based on their type and filtering stack traces based on the contents, !findstack style, and so on.&lt;/p&gt;
</description></item><item><title>re: Use !htrace to debug handle leak</title><link>http://blogs.msdn.com/junfeng/archive/2008/04/21/use-htrace-to-debug-handle-leak.aspx#8415777</link><pubDate>Tue, 22 Apr 2008 03:58:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8415777</guid><dc:creator>Norman Diamond</dc:creator><description>&lt;p&gt;The link to&lt;/p&gt;
&lt;p&gt;mk:@MSITStore:C:\debuggers\debugger.chm::/hh/Debugger/AppVerif2_437533d6-daa8-4fe9-90da-a7717ebc9683.xml.htm&lt;/p&gt;
&lt;p&gt;doesn't work in Internet Explorer, even though I have the MSDN library installed.&lt;/p&gt;
</description></item></channel></rss>