Dbg vs. Pdb files


Somebody asked me about .Dbg vs. .Pdb files. Basically, .Dbg files are the predecessor’s to .pdb files. For managed code, you’re always likely to see .pdb files. That’s actually about all I know, but you can find out more here:  http://support.microsoft.com/default.aspx?scid=kb;en-us;Q121366


Comments (3)

  1. Carlos says:

    This used to be a PITA because the system debuggers didn’t understand .PDB, but DevStudio was fussy about the .DBG format.  All the debuggers support .PDB now, so .DBG is best forgotten.

  2. ricom says:

    >>This used to be a PITA because the system debuggers didn’t understand .PDB, but DevStudio was fussy about the .DBG format.  All the debuggers support .PDB now, so .DBG is best forgotten.

    Now that is a blast from the past.  Back when I was debugger lead for Visual C++ we got both kinds of debuggers to understand each others format by unifying the symbol handler code.  However .dbg files fell by the wayside because .pdb files can be incrementally updated and .dbg files cannot.

    That was 12 years ago or so