Friday, August 8, 2014

PDBs are separate files,


Archives August 2014 (13) July 2014 (7) May 2014 (1) April 2014 (3) February 2014 (2) January 2014 (3) December 2013 (5) October transalte 2013 (3) August 2013 (26) July 2013 (10) June 2013 (13) May 2013 (2) April 2013 (1) March 2013 (5) February 2013 (9) January 2013 (12) December 2012 (5) November 2012 (10) September 2011 (1) March 2011 (3) February 2011 (6)
The program database (.pdb) file is used by your integrated development environment (IDE; like Visual Studio) to maintain the state of your project (it remembers your formatting, where you placed everything, and info from the compiler).
PDBs are separate files, needed for debugging to work. They are created automatically in the project's directory or subdirectory, with the same name as the executable, but with the .pdb extension instead. If PDB files are misplaced or aren't properly moved and tracked with your other files, then they must be found for debugging to work properly.
The PDB file is made during the compilation process, even though the final executable isn't even named. You see, the PDB file is often made as a temp file and then merged into the .pdb file later. Some languages, like VC#, require you to use a linker to merge the temporary transalte PDB file into the main one. Of course, it's always recommended to do that, so that you can see the stack trace, source files, line numbers, etc.
Comments Loading...


No comments:

Post a Comment