Debug Diagnostics官方版是一款功能强劲实用且适用于IIS故障调试和诊断的工具。用户使用Debug
Diagnostics(IIS调试诊断工具)官方版可以让IIS调试简直是容易到让人无法相信。Debug
Diagnostics(IIS调试诊断工具)官方版界面简洁易操作,内含32位和64位双版本。
使用教程
这东西要装在你的IIS Server上,不过个人工作的电脑通常也要装,因为dump完大概下一件事就是赶快重开机让production server赶快回复运作,哪里还有那种美国时间让你在上面跑分析而且分析过程中要上网download symbol file,有时候production server是不对外的
装完以后就像这样,放在程式集里面
执行起来的画面像这样,当你的IIS挂掉时,先不要急着重开
1.赶快先把犯罪的证据保留下来,从Tools->Create IIS Hang Dump将IIS相关的process都dump下来
2.然后再用最下面的Add Data Files将dump的结果读进来
3.在上面的ListBox选择Crach/Hang Analyzers
4.点选下面的Start Analysis

就这样,够简单了那分析结果如何解读? Watch this

直接告诉你哪一个thread block住后面的程式,那么thread 19是什么?点一下超连结

直接告诉你这是哪支ASP,连第几行都告诉你了
那.NET程式可不可以?
我写了一个无穷回圈的webservice

dump出来的report像这样


这里我还没有研究透彻,因为只看到一堆循环不已的call
但是把同样的dump用另一个工具WinDbg去读,可以得到这样的结果,连method都列出来给你

安装步骤
1.在本站下载Debug Diagnostics官方版软件包

2.解压Debug Diagnostics软件,运行“EXE.文件”

3.双击打开,进入Debug Diagnostics软件界面,点击下一步

4.阅读安装许可协议,点击我同意,点击下一步

5.选择安装位置,点击下一步

6.安装程序准备安装,点击安装

7.点击完成,Debug Diagnostics软件安装成功
