Wednesday 16 July 2014

what is .pdb file in .net?


A program database (PDB) file holds debugging and project state information that allows incremental linking of a debug configuration of your program. A PDB file is created when you build with /debug. You can build applications with /debug: full or /debug: pdbonly. Building with /debug: full generates debuggable code. Building with /debug: pdbonly generates PDBs but does not generate the DebuggableAttribute that tells the JIT compiler that debug information is available. Use /debug: pdbonly if you want to generate PDBs for a release build that you do not want to be debuggable.

No comments:

Post a Comment