阅读背景:

堆栈跟踪如何指向错误的行(“返回”语句) - 40行关闭

来源:互联网 

I have twice now seen a NullReferenceException logged from a Production ASP.NET MVC 4 web application - and logged on the wrong line. Not wrong by a line or two (like you would get with a PDB mismatch), but wrong by the length of the entire controller action. Example:




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: