怎么做" + N"值是指在一个方法名的堆栈跟踪结束了吗? [英] What do the "+n" values mean at the end of a method name in a stack trace?
本文介绍了怎么做" + N"值是指在一个方法名的堆栈跟踪结束了吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在阅读就像一个堆栈跟踪:
When reading a stack trace like:
[FormatException: Input string was not in a correct format.]
System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +2755599
System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +112
System.Convert.ToInt32(String value) +68
做什么的+68,+112等数字的意思。我猜他们是偏移的东西。如果有,是什么?
What do the +68, +112, etc. numbers mean. I'm guessing that they're offsets to something. If so, what?
推荐答案
我相信他们是偏移到方法的code - 无论是IL或JIT编译组装字节,我不知道..
I believe they're offsets into the code of the method - whether IL or JIT-compiled-assembly bytes, I'm not sure...
(基本上他们正在采取的行号,这当然是不提供未经PDBS的地方。)
(Basically they're taking the place of line numbers, which of course aren't available without the pdbs.)
这篇关于怎么做" + N"值是指在一个方法名的堆栈跟踪结束了吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文