根据 MSDN 关于 system.web httpRuntime executionTimeout 的说明:
This time-out applies only if the debug attribute in the compilation element is
False. Therefore, if the debug attribute is True, you do not have to set this
attribute to a large value in order to avoid application shutdown while you are
debugging.
对于大多数调试来说,这是一个很棒的功能,因为它使请求在调试期间保持活动状态。但是,如果我想要调试超时错误本身呢?无论我在.NET的哪个地方设置超时属性,它似乎都允许无限时间,所以我永远无法捕获异常进行调试!