I am using C# having come from a Java background – I have an exception but it does not tell me the line number – Just the method name.
Is that usual?? Is it down to Debug / Release builds??
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Line numbers should be available when compiling in Debug as long as you keep the
pdbfiles in the application directory.This will also work in Release if you enable PDB creation, as per Justin’s answer.
If you are interested, more information can be found at PDB Files (MSDN)