Glimpse MVC 调试器支持在服务器上保存请求。这是通过
requestLimit 配置来配置的。默认值为 15。
我如何访问此信息?
我遇到了特定 MVC 控制器操作挂起的问题,因为它挂起,我没有收到页面响应,因此浏览器结果将显示在浏览器中。但是,由于请求历史记录,我认为该信息应该在服务器上可用?
Glimpse MVC debugger supports saving requests on the server. This is configured by the
<glimpse enabled="true" requestLimit="15">
requestLimit configuration. The default being 15.
How do I access this information?
I'm having issues with a specific MVC controller action hanging, since it hangs I do not receive a page response back such that the Glimpse results will appear in browser. However I would assume this information should be available on the server due to the request history?
发布评论
评论(1)
假设您的站点中的某处有一个可以工作的控制器,并且您有一个使用该控制器的视图,您可以在上面看到 Glimpse,那么远程选项卡在这种情况下应该可以很好地工作。
远程选项卡本质上是服务器上存储的 15 个请求的窗口。远程选项卡被设计为一个界面,允许您查看所需的存储信息。
鉴于此,您应该能够转到远程选项卡,选择您使用的命名会话(如果您没有更改它,则可能为“null”或空或类似的内容),然后查看请求。
此时,您可以加载任一存储请求的概览数据。
让我知道你是如何尝试的。
Assuming you have a controller somewhere in your site that works and you have a view that uses that controller that you can see Glimpse on, the remote tab should work really well in this case.
The remote tab is essentially a window to those 15 stored requests on your server. The remote tab is designed to be an interface that allows you to view the stored information you are after.
Given this you should be able to go to the remote tab, select the named session which you where using (which is probably 'null' or empty or something similar if you haven't changed it) and then view the requests.
At that point you can load up the glimpse data for any one of those stored requests.
Let me know how you get on giving this a go.