Possible duplicate:
Automatically create .NET alarm dates
include line numbers in stack trace without pdb?
I currently have a .NET Windows application and I am not deploying pdb files with it. If the client receives an exception, I show it in a nice window with a stack trace so that it can send it to me by email. I am also considering deploying pdb files to get line numbers in a stack trace.
Now I am wondering if there is a better way. The pdb files roughly double the size of my installation, which I don't like. Is there a way to catch the exception and maybe create some kind of dump file that the user could send to me and then I could debug this information and get the line number?
If there is no easy, simple way to do this, I simply deploy the pdb files and do it with it.
source share