如何调试 Asp.net mvc 挂起/无响应
我有一个有时会挂起的 asp.net mvc 站点。知道如何调试这个吗?它不会在本地调试服务器上本地发生,只有当我上传到远程测试服务器时才会发生。
为了更好地解释:我有一个页面,一旦加载就会触发 6 个 ajax 请求。我看到其中两个总是挂起。然后,如果我更改参数,一切都会加载正常。
另一个页面仅在加载后才会触发请求,并且大多数情况下都有效,但有时也会挂起。在此页面中,我发现它经常挂在最消耗的请求上,“更简单”的请求响应良好。
I have a asp.net mvc site that sometimes hangs. Any idea how to debug this? It doesn't happen locally on the local debug server, only when i upload to a remote test server.
To explain better: I have a page that triggers 6 ajax requests as soon as it is loaded. I see that 2 of them always hangs. Then if i change the parameters everything loads ok.
Another page triggers the requests only after it's loaded, and most time works, but sometimes it hangs as well. In this page i see that it oftenly hangs on the most consuming requests, the "easier" ones respond well.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我将在提供请求的服务器端页面中设置一些日志记录——至少这样您就可以开始收集有关相关例程的一些数据。
I would set up some logging in the server-side page that provides the request-- at least then you can start to gather some data on the routines in question.