怎么做" + N"值是指在一个方法名的堆栈跟踪结束了吗?法名、堆栈、是指、怎么做

由网友(抹茶香的淡茶色。)分享简介:在阅读就像一个堆栈跟踪:When reading a stack trace like:[FormatException: Input string was not in a correct format.]System.Number.StringToNumber(String str, NumberStyles...

在阅读就像一个堆栈跟踪:

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.)

阅读全文

相关推荐

最新文章