O
Oleg.Ogurok
Hi there,
The .pdb files are generally not installed in a production environment.
As a result, when an exception occurs, the runtime can't resolve the
lines of the code where the problem happened. Instead, one gets the
offsets, e.g.:
[NullReferenceException: Object reference not set to an instance of an
object.]
MyClass.DoSomething(String s) +554
If I haven't changed the source code on my development machine, is
there any way to translate the offset (+554) into the line number?
I tried using ILDASM and looking at the IL but couldn't find anything
that would correspond to offset +554. ILDASM showed the method has
offsets from IL_0000 to IL_00bc
Thanks,
-Oleg.
The .pdb files are generally not installed in a production environment.
As a result, when an exception occurs, the runtime can't resolve the
lines of the code where the problem happened. Instead, one gets the
offsets, e.g.:
[NullReferenceException: Object reference not set to an instance of an
object.]
MyClass.DoSomething(String s) +554
If I haven't changed the source code on my development machine, is
there any way to translate the offset (+554) into the line number?
I tried using ILDASM and looking at the IL but couldn't find anything
that would correspond to offset +554. ILDASM showed the method has
offsets from IL_0000 to IL_00bc
Thanks,
-Oleg.