Line number in a release version

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello everyone,

Is there a way of detecting the line number of the error in a release version?

When I look at the stack it shows the file and the procedure, but not the
line number.

Thank you,
Daniel
 
Is there a way of detecting the line number of the error in a release version?

Maybe if you compile with /debug:pdbonly and ship the debug symbols.
Not something I would recommend doing though.



Mattias
 
Thanks,

You are right, I do not want to do this, but I found out that
Enviroment.StackTrace displays the line numbers even in the release version.

Daniel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top