c# - 堆栈跟踪中的+数字是什么意思
我有一个错误,显示:
[OverflowException: Value was either too large or too small for a Decimal.]
System.Decimal..ctor(Double value) 0
System.Decimal.op_Explicit(Double value) 30
MyMethod(int myParameter) 5174
AnotherMethod(int myParameter) ....
5174是什么意思? 这不是行号。
最佳答案:
1 个答案:
答案 0 :(得分:4)
这将是IL偏移量,当没有PDB文件/调试信息时会发生这种情况。
您可以为发布程序集生成PDB数据,这样可以更直接地跟踪问题。
本文经用户投稿或网站收集转载,如有侵权请联系本站。