Ruckus said:
When deploying a .Net 2.0 library or ASP.Net site we are generating PDB
file
to our development and QA environments. Should we remove the PDB files
when
deploying to production? The concerns are security and performance.
The PDB files assist production debugging by providing additional
information about the source code that is not present in the .NET assembly.
Most importantly the presense of a PDB file will add line numbers to your
exception stack trace.
I don't know of any security or performance implications of deploying these
to a production server environment. For a client deployment the size and
additional IP content of the PDB files may change the equasion. But for any
environment where you expect to be reviewing exception stack traces or doing
production debugging, I would deploy the PDB's too.
David