在windows vista iis7部署站点,进行调试的时候,经常会出现 debugger time-out, 这个是由于应用程序池配置的问题。
1. 打开应用程序池—高级配置:
2. 启用Ping 设置为false.这样就可以保证进程一直处于调试状态。
3. Ping默认的最大响应时间是90s,你也可以设置的更长一些。
原文:
ASP.NET Debugger Timeout In Windows Vista
When I first installed Windows Vista with IIS 7 I have started to notice that ASP.NET debugger tends to time-out very often. Previously I hadn't noticed such a behavior when I was using Windows 2003 with IIS 6. I really cannot tell if it was there or not, because I sometimes tend to dismiss this kind of issues if they are not very painful.
Sometimes however the debugger timeout IS painful. Fortunately the problem is easily solved. I have found the solution provided by jshallard on ASP.NET's forum:
In IIS 7 go to the Application Pools and select the Advanced Settings for the pool which you process runs in. In the Process Model section you can do one of two things;
* Set the Ping Enabled property to False. This will stop IIS checking to see if the worker process is still running and keep your process alive permanently (or until you stop your debugged process)
* If you prefer to allow IIS to continue the monitoring process then change the Ping Maximum Response Timeout value to something larger than 90 seconds (default value).
I've tried the second option and it worked.
地址:
http://vaultofthoughts.net/ASPNETDebuggerTimeoutInWindowsVista.aspx
分享到:
相关推荐
把 .vs-debugger 复制到远程linux的 root目录下(.vs-debugger文件为已经配置好的linux远程调试文件),解决 正在配置调试器 下载等待 . vsdbg-linux-x64
VS2005 Remote Debugger, 用于远程调试VS开发的程序,由于经常要寻找安装,特上传到CSDN存放,供大家下载。
(1) 远程端:安装VS2005光盘"\vs\Remote Debugger\x86\rdbgsetup.exe"。或者直接运行或copy本地端的: "Program Files\Microsoft Visual Studio 8\Common7\IDE\Remote Debugger\x86" (2) 远程端:“本地安全策略 - ...
RouteDebugger(调试URLRouting、asp.netMVC).zip
HTTP DebuggervPro v9.02英文版-已破解,附带注册机。HTTP Debugger 是为网站开发者设计的调试工具,可以对客户端浏览器和网站服务器 之间所有的HTTP通信信息进行捕获、分析和调试。
JLINK Debugger with IAR
Visual Studio 2005 Remote Debugger 单独的安装包文件。
用于测试Asp.net MVC 中定义的路由是否正确! 用于测试Asp.net MVC Route规则!
使用VB.NET对PLC进行读写数据,方便快捷,对入门者有很好的编程
可以实现方便的调试XAML XAML Debugger Visualizer for WPF_VS2005
This resource describes techniques for debugging programs both during code writing and after an application is finished, as well as covers the Visual Studio .NET 2003 debugger and adds chapters on the...
Together 6.1 .NET Edition (aka Edition for VS.NET) (*) Together 6.1 Foundation Edition for VS.NET (*) Delphi 8 for .NET Architect Interbase 7.1 Server Edition (**) Optimizeit Profiler for .NET 1.1 ...
The full transcript of Software Diagnostics Services training with 13 step-by-step exercises, notes, source code of specially created modeling applications and selected Q&A. Covers 22 .NET memory dump...
ImageDebuggerVisualizer 放在vs2005-2010的安装目录下的 /Common7/Packages/Debugger/Visualizers目录中即可
(You can use the Debugger with programs written in high level languages as well, observing both the source code and the assembly language code generated by the compilation of those programs.)
Remote Debugger
growingio web端调试插件、debugger、工具 GrowingIO Web Debugger 是基于Chrome浏览器的一个插件