按照MSDN有關的System.Web的httpRuntime executionTimeout:調試請求超時(System.Web.HttpException)
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似乎都允許無限的時間,所以我從來沒有捕捉到異常來調試!