<?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>Debug Diagnostic Tool - All Comments</title><link>http://blogs.msdn.com/b/debugdiag/</link><description>The Debug Diagnostic Tool is a tool designed to help troubleshoot performance issues with Internet Information Services (IIS).  Even though the tool was designed with troubleshooting IIS in mind it can be used to identify performance issues for any proces</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Welcome back to the Debug Diagnostics Blog.</title><link>http://blogs.msdn.com/b/debugdiag/archive/2012/06/14/welcome-back-to-the-debug-diagnostics-blog.aspx#10371046</link><pubDate>Fri, 23 Nov 2012 06:38:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10371046</guid><dc:creator>Daniel</dc:creator><description>&lt;p&gt;So, I decided to uninstall the Debug Diagnostics Tool (doing maintenance), and during uninstall (from control panel) I was presented with an error&lt;/p&gt;
&lt;p&gt;&amp;quot;Failed to create 32 bit dbghost &amp;nbsp;error 0x80040154&amp;quot;&lt;/p&gt;
&lt;p&gt;I looked into the error, not being able to find the root of the problem - I&amp;#39;m guessing that a service is still trying to call the dbghost. What I found was the register.bat and unregister.bat seems to be very different (this being a 64-bit server)&lt;/p&gt;
&lt;p&gt;The register.bat performs the following commands:&lt;/p&gt;
&lt;p&gt;dbgsvc /service&lt;/p&gt;
&lt;p&gt;dbghost /regserver&lt;/p&gt;
&lt;p&gt;regsvr32 /s exts\ComplusDDExt.dll&lt;/p&gt;
&lt;p&gt;regsvr32 /s exts\ CrashHangExt.dll&lt;/p&gt;
&lt;p&gt;regsvr32 /s exts\IISInfo.dll&lt;/p&gt;
&lt;p&gt;regsvr32 /s exts\MemoryExt.dll&lt;/p&gt;
&lt;p&gt;regsvr32 /s exts\SharePointExt.dll&lt;/p&gt;
&lt;p&gt;x86support\dbghost /regserver&lt;/p&gt;
&lt;p&gt;regsvr32 /s x86support\exts\ComplusDDExt.dll&lt;/p&gt;
&lt;p&gt;regsvr32 /s x86support\exts\CrashHangExt.dll&lt;/p&gt;
&lt;p&gt;regsvr32 /s x86support\exts\IISInfo.dll&lt;/p&gt;
&lt;p&gt;regsvr32 /s x86support\exts\MemoryExt.dll&lt;/p&gt;
&lt;p&gt;regsvr32 /s x86support\exts\SharePointExt.dll&lt;/p&gt;
&lt;p&gt;While the unregister.bat performs these commands:&lt;/p&gt;
&lt;p&gt;net stop dbgsvc&lt;/p&gt;
&lt;p&gt;dbgsvc /unregserver&lt;/p&gt;
&lt;p&gt;dbghost /unregserver&lt;/p&gt;
&lt;p&gt;regsvr32 /s /u exts\ComplusDDExt.dll&lt;/p&gt;
&lt;p&gt;regsvr32 /s /u exts\CrashHangExt.dll&lt;/p&gt;
&lt;p&gt;regsvr32 /s /u exts\IISInfo.dll&lt;/p&gt;
&lt;p&gt;regsvr32 /s /u exts\MemoryExt.dll&lt;/p&gt;
&lt;p&gt;regsvr32 /s /u exts\SharePointExt.dll&lt;/p&gt;
&lt;p&gt;Now I can&amp;#39;t be the only one that noticed some commands missing here?&lt;/p&gt;
&lt;p&gt;Should the unregister.bat not unregister every instance of the x86support services and dll&amp;#39;s?&lt;/p&gt;
&lt;p&gt;Like this:&lt;/p&gt;
&lt;p&gt;net stop dbgsvc&lt;/p&gt;
&lt;p&gt;dbgsvc /unregserver&lt;/p&gt;
&lt;p&gt;dbghost /unregserver&lt;/p&gt;
&lt;p&gt;regsvr32 /s /u exts\ComplusDDExt.dll&lt;/p&gt;
&lt;p&gt;regsvr32 /s /u exts\CrashHangExt.dll&lt;/p&gt;
&lt;p&gt;regsvr32 /s /u exts\IISInfo.dll&lt;/p&gt;
&lt;p&gt;regsvr32 /s /u exts\MemoryExt.dll&lt;/p&gt;
&lt;p&gt;regsvr32 /s /u exts\SharePointExt.dll&lt;/p&gt;
&lt;p&gt;x86support\dbghost /unregserver&lt;/p&gt;
&lt;p&gt;regsvr32 /s /u x86support\exts\ComplusDDExt.dll&lt;/p&gt;
&lt;p&gt;regsvr32 /s /u x86support\exts\CrashHangExt.dll&lt;/p&gt;
&lt;p&gt;regsvr32 /s /u x86support\exts\IISInfo.dll&lt;/p&gt;
&lt;p&gt;regsvr32 /s /u x86support\exts\MemoryExt.dll&lt;/p&gt;
&lt;p&gt;regsvr32 /s /u x86support\exts\SharePointExt.dll&lt;/p&gt;
&lt;p&gt;Anyways, I tried running my own script before uninstalling - but I still end up getting the error message.&lt;/p&gt;
&lt;p&gt;Please advise, asap, on how to uninstall properly. These kind of deployment errors are so f-ing annoying!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10371046" width="1" height="1"&gt;</description></item><item><title>re: Welcome back to the Debug Diagnostics Blog.</title><link>http://blogs.msdn.com/b/debugdiag/archive/2012/06/14/welcome-back-to-the-debug-diagnostics-blog.aspx#10344134</link><pubDate>Tue, 28 Aug 2012 12:52:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10344134</guid><dc:creator>Moshe</dc:creator><description>&lt;p&gt;I am using this grate tool for years. waiting for new version and options.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10344134" width="1" height="1"&gt;</description></item><item><title>re: DebugDiag v1.1 Available!</title><link>http://blogs.msdn.com/b/debugdiag/archive/2007/02/26/debugdiag-v1-1-available.aspx#10317274</link><pubDate>Fri, 08 Jun 2012 12:00:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10317274</guid><dc:creator>Mick</dc:creator><description>&lt;p&gt;Link is dead try this Debug Diagnostic Tool v1.2&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.microsoft.com/en-us/download/details.aspx?id=26798"&gt;www.microsoft.com/.../details.aspx&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10317274" width="1" height="1"&gt;</description></item><item><title>Memory increasing even when in debug-break | keyongtech</title><link>http://blogs.msdn.com/b/debugdiag/archive/2006/03/28/563113.aspx#9364699</link><pubDate>Thu, 22 Jan 2009 11:15:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9364699</guid><dc:creator>Memory increasing even when in debug-break | keyongtech</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.keyongtech.com/2391074-memory-increasing-even-when-in"&gt;http://www.keyongtech.com/2391074-memory-increasing-even-when-in&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9364699" width="1" height="1"&gt;</description></item><item><title>re: DebugDiag v1.1 Available!</title><link>http://blogs.msdn.com/b/debugdiag/archive/2007/02/26/debugdiag-v1-1-available.aspx#4066086</link><pubDate>Thu, 26 Jul 2007 16:58:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4066086</guid><dc:creator>jformacek</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I got into situation, where I needed to dump worker process reported unhealthy, as described in KB article &lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://support.microsoft.com/default.aspx/kb/828222/en-us"&gt;http://support.microsoft.com/default.aspx/kb/828222/en-us&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I had debugdiag already installed on web server and I didn't want to install another debugger on production machine, so I was finding a way how to use debugdiag to dump such a process.&lt;/p&gt;
&lt;p&gt;Didn't find a lot in the documentation, so after looking into debugdiag TLBs for a while, I created the following vbscript, that should do the job:&lt;/p&gt;
&lt;p&gt;'-------------&lt;/p&gt;
&lt;p&gt;Dim pid&lt;/p&gt;
&lt;p&gt;Dim controller&lt;/p&gt;
&lt;p&gt;Dim process&lt;/p&gt;
&lt;p&gt;If Not wscript.arguments.named.exists(&amp;quot;PID&amp;quot;) Then&lt;/p&gt;
&lt;p&gt;	wscript.quit&lt;/p&gt;
&lt;p&gt;End If&lt;/p&gt;
&lt;p&gt;pid=CInt(wscript.arguments.named(&amp;quot;PID&amp;quot;))&lt;/p&gt;
&lt;p&gt;Set controller=CreateObject(&amp;quot;dbgsvc.controller&amp;quot;)&lt;/p&gt;
&lt;p&gt;For Each process In controller.processes&lt;/p&gt;
&lt;p&gt;	If process.ProcessID=pid Then&lt;/p&gt;
&lt;p&gt;		dumpname=process.createdump(&amp;quot;Deadlock_Dump&amp;quot;,&amp;quot;I:\DebugDiag&amp;quot;)&lt;/p&gt;
&lt;p&gt;		process.terminateprocess&lt;/p&gt;
&lt;p&gt;		Exit For&lt;/p&gt;
&lt;p&gt;	End If&lt;/p&gt;
&lt;p&gt;Next&lt;/p&gt;
&lt;p&gt;Set controller=Nothing&lt;/p&gt;
&lt;p&gt;'--------------------&lt;/p&gt;
&lt;p&gt;Script is supposed to be a batch file to be executed when process orphans.&lt;/p&gt;
&lt;p&gt;Seems to be working on my test machine, now I'm going to use it on server I'm troubleshooting.&lt;/p&gt;
&lt;p&gt;Is this type of use of debugdiag supported?&lt;/p&gt;
&lt;p&gt;Will the debugdiag documentation be enhanced to cover this type of use?&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;
&lt;p&gt;Jiri&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4066086" width="1" height="1"&gt;</description></item></channel></rss>