ASPX 错误页面上的 .NET 堆栈跟踪中的数字是多少?
ASPX 错误页面上的 .NET 堆栈跟踪中的数字是多少(见图)?它们似乎不是行号,因为它们太大了?这些数字如何帮助我确定引发异常的代码行?
What are the numbers in a .NET stack trace on an ASPX error page (see picture)? They don't seem to be line numbers as they are too large? How can those numbers help me in determining the line of code that threw the exception?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
编辑:由于这已被标记为正确,我不妨对其进行编辑以使其如此:)
它们是该方法的 JITted 本机代码内的偏移量。不幸的是,这意味着当你试图弄清楚到底发生了什么时,它们并没有多大帮助。请参阅这篇博文< /a> 以获得更详细的示例。
EDIT: As this has been marked correct, I might as well edit it to make it so :)
They're offsets within the JITted native code of the method. Unfortunately that means they don't help very much when trying to work out what's going on. See this blog post for a more detailed example.