Explain .pdb file.

 Posted by Pgayath on 9/18/2012 | Category: .NET Framework Interview questions | Views: 1618 | Points: 40

When the project is built under "Debug" mode, .pdb files will get created.

When compiled with debugging information, an executable file contains two references to the associated PDB file:

• Local variable names.
• The full path of the associated PDB file that will be used during the debugging session.

The other information is not required in the PDB file because it is available in metadata file.

When a program to be debugged is launched, the debugger goes into the executable file and tries to locate the correct PDB file to proceed to the debugging session.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response

More Interview Questions by Pgayath