有没有办法让executionTimeout在调试时生效? [英] Is there a way to make executionTimeout take effect while debugging?
问题描述
我想调试一个网站,但也导致 httpRuntime executionTimeout
设置生效。但是,文档说:
I would like to debug a website, but also cause the httpRuntime executionTimeout
setting to take effect. However, the documentation says:
只有在编译
元素中的
调试属性时才适用此超时是$ F $。
This time-out applies only if the debug attribute in the compilation element is False.
有没有办法启用 executionTimeout
当 debug =True
?
推荐答案
经过一个多星期的搜索和尝试我有信心说,截至目前,没有合理的方法让 httpRuntime executionTimeout
设置生效,而编译调试
标志设置为true。
After more than a week of searching and trying various hacks, I'm confident in saying that, as of now, there is no reasonable way to have the httpRuntime executionTimeout
setting take effect while the compilation debug
flag is set to true.
一个可能的可怕的黑客解决方法是以某种方式欺骗系统认为超过30,000,000秒347天)已经过去了,这是 executionTimeout
被覆盖到 debug
为true时。
One possible terrible hack workaround is to somehow trick the system into thinking that more than 30,000,000 seconds (just over 347 days) have elapsed, which is what executionTimeout
is overridden to when debug
is true.
这篇关于有没有办法让executionTimeout在调试时生效?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!