1

在打开“异常中断”的 Visual Studio 中,我看到引发了以下异常(对象引用为空) - 请参阅下面的调用堆栈。

这发生在我的控制器方法被命中之前。任何想法为什么会发生这种情况?

我正在使用 Asp.net mvc3 和 glimpse.mvc3 的 0.87.0.0 版本。

Glimpse.Core.DLL!Glimpse.Core.Extensions.HttpContextBaseExtensions.GetGlimpseRequestId(System.Web.HttpContextBase context = {System.Web.HttpContextWrapper}) + 0x55 字节
Glimpse.Core.DLL!Glimpse.Core.Module.BeginRequest(System. Web.HttpContextBase 上下文 = {System.Web.HttpContextWrapper}) + 0xad 字节
Glimpse.Core.DLL!Glimpse.Core.Module.OnBeginRequest(object sender = {ASP.global_asax}, System.EventArgs e = {System.EventArgs}) + 0x7e 字节
System.Web.dll!System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() + 0x95 字节
System.Web.dll!System.Web.HttpApplication.ExecuteStep(System.Web.HttpApplication.IExecutionStep step = {System.Web.HttpApplication.SyncEventExecutionStep}, ref bool completedSynchronously = false) + 0x4c 字节
System.Web.dll!System. Web.HttpApplication.PipelineStepManager.ResumeSteps(System.Exception 错误) + 0x39f 字节 System.Web.dll!System.Web.HttpApplication.BeginProcessRequestNotification(System.Web.HttpContext 上下文,System.AsyncCallback cb) + 0x5a 字节 System.Web.dll !System.Web.HttpRuntime.ProcessRequestNotificationPrivate(System.Web.Hosting.IIS7WorkerRequest wr = {System.Web.Hosting.IIS7WorkerRequest}, System.Web.HttpContext context = {System.Web.HttpContext}) + 0xbe 字节
System.Web.dll!System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(System.IntPtr managedHttpContext, System.IntPtr nativeRequestContext = 543781828, System.IntPtr moduleData, int flags) + 0x247 bytes System.Web.dll!System.Web.Hosting .PipelineRuntime.ProcessRequestNotification(System.IntPtr managedHttpContext, System.IntPtr nativeRequestContext, System.IntPtr moduleData, int flags) + 0x29 字节

4

1 回答 1

1

是的,我在 vs2011 beta 的 Intellitrace 中也看到了它;我不担心 :o) 我认为您可以通过访问 http://localhost/glimpse.axd 并打开 glimpse 来阻止它。这会设置 cookie 并找到 id。没有例外...

反正这是我的猜测..

干杯,哦

于 2012-05-30T22:04:08.630 回答