Unless the application is compiled in debug mode and the *.pdb files are present, you're not going to be able to retrieve the line numbers regardless of what you do. There's generally no need to do this anyway. If the method in question is so long that you can't find the problem line of code, you need to refactor, refactor and refactor some more.
Exactly.