Is there a way to make executionTimeout take effect while debugging?

后端 未结 3 359
生来不讨喜
生来不讨喜 2021-01-14 12:42

I would like to debug a website, but also cause the httpRuntime executionTimeout setting to take effect. However, the documentation says:

This time-o

相关标签:
3条回答
  • 2021-01-14 13:07

    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.

    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.

    0 讨论(0)
  • 2021-01-14 13:10

    That's interesting, because I have debugging sessions timeout on me all the time when I'm just sitting there looking at the code. Is there another timeout value that is handled by IIS rather than ASP.NET?

    0 讨论(0)
  • 2021-01-14 13:15

    If you use ASP.NET MVC then this may help. ASP.NET MVC (version < 4) doesn't support this timeout.

    0 讨论(0)
提交回复
热议问题