D
David Krmpotic
it's me again..
with quite interesting discovery
I was tracing an error for 3 hours instead of 3 minutes because of this
surprise.
Recently I'm compiling this project in RELEASE with Debug info turned on so
that it creates .PDB files and I can see the line numbers in stack trace.
To my surprise, release version of .pdb pointed me only to the beginning of
the method saying that Index was out of range. But there was nothing like
that there. After finding an error by other means, I tried to compile the
project in debug mode and regenerate the error. This time I saw the correct
line number. If the release version pointed me to here, I could see what's
the problem immediatelly.
how can I force release PDB to behave like debug PDB?
Release PDB only gives me approxiamate exception location!?
THANK YOU!
david
with quite interesting discovery

I was tracing an error for 3 hours instead of 3 minutes because of this
surprise.
Recently I'm compiling this project in RELEASE with Debug info turned on so
that it creates .PDB files and I can see the line numbers in stack trace.
To my surprise, release version of .pdb pointed me only to the beginning of
the method saying that Index was out of range. But there was nothing like
that there. After finding an error by other means, I tried to compile the
project in debug mode and regenerate the error. This time I saw the correct
line number. If the release version pointed me to here, I could see what's
the problem immediatelly.
how can I force release PDB to behave like debug PDB?
Release PDB only gives me approxiamate exception location!?
THANK YOU!
david