- Program database
Infobox file format
name = Program database
icon =
caption =
extension = .pdb
mime =
type code =
uniform type =
magic =
owner =Microsoft
released =
latest release version =
latest release date =
genre =Debug
container for =
contained by =
extended from =
extended to =
standard =
url = PDB stands for Program Database, aproprietary file format (developed byMicrosoft ) for storing debugging information about a program (or, commonly, program modules such as a DLL orEXE ). PDB files commonly have a .pdb extension. A PDB file is typically created from source files during compilation. It stores a list of all symbols in a module with their addresses and possibly the name of the file and the line on which the symbol was declared. This symbol information is not stored in the module itself, because it takes up a lot of space.Applications
When a program is debugged, the debugger loads debugging information from the PDB and uses it to locate symbols or relate current execution state of a program source code.
Microsoft Visual Studio uses PDB files as its primary file format for debugging information.Another use of PDBs is in services that collect crash data from users and relate it to the specific parts of the source code that cause (or are involved in) the crash. An example of this is
SupportSoft 'sTalkback .PDB files are not usually distributed with a compiled program to end-users. They are only used by developers.
Extracting Information
Although the PDB format is undocumented and proprietary, information can be extracted from a PDB-file using the DIA (Debug Interface Access) interfaces, available on
Microsoft Windows .External links
* [http://msdn2.microsoft.com/en-us/library/x93ctkx8(VS.80).aspx Microsoft MSDN documentation on DIA]
Related Links
Debug Symbols
Wikimedia Foundation. 2010.