5

Is it a problem if I keep the .pdb files present in the bin directory? Are there any negative performance issues?

Matt Johnson-Pint
  • 230,703
  • 74
  • 448
  • 575
Kees C. Bakker
  • 32,294
  • 27
  • 115
  • 203

3 Answers3

0

if you have the .pdb but the exe/dll are anyway built in release, all optimizations have been included so it should not matter.

Davide Piras
  • 43,984
  • 10
  • 98
  • 147
0

These files are only used by the debugger, so if you're just running the application without debugging it, the files are ignored completely. So no, the presence of these files has no impact on performance.

Thomas Levesque
  • 286,951
  • 70
  • 623
  • 758
0

ones you have build the dll in release mode, and the asp.net is also running on release mode this have no effect on the performance.

This files are for the DEBUG, but what DEBUG ? The debug informations that you get on un-handled errors, like the calling stack, all the calling functions on stack and all the line number including the one of the throw error. Its useful if you wish to know where the error throw up, and they help to locate bug and errors very fast.

The informations that they give is the functions name, and the call positions inside the functions. We include them all, to help us with the errors.

You can also product similar informations and on the pages (aspx files) by including the compilerOptions="/D:TRACE" on web.config under the <compiler tag, in case that you have some errors on pages and you do not know in witch line they are.

Some more informations :

http://msdn.microsoft.com/en-us/library/ms241903.aspx

Aristos
  • 66,005
  • 16
  • 114
  • 150