7

I found very little information on the difference between C7 compatible and Program Database (there is a third one, Program Database Edit and Continue, but that should be the same as Program Database with the ability to edit and continue). The only solid information I could find was that C7 compatible embeds the debug information in the obj files, while the Program Database creates a .pdb file for debugging purposes.

Is there an upside to using C7 compatible vs. Program Database? What is the downside?

Extra notes: I have tried both and so far, the debugging information is preserved properly in both cases

Joel Coehoorn
  • 399,467
  • 113
  • 570
  • 794
Samaursa
  • 16,527
  • 21
  • 89
  • 160

1 Answers1

10

It is documented in Generating and Deploying Debug Symbols with Microsoft Visual C++ 6.0 which makes it still relevant today as C7 hasn't changed.

Richard Harrison
  • 19,247
  • 4
  • 40
  • 67
  • 2
    Good link. Did I understand this correctly: PDB gives you Edit & Continue, C7 avoids having an additional file around? – DevSolar Dec 02 '10 at 19:29
  • All the information I needed was in that link, thank you! I did not get that link whenever I searched for this – Samaursa Dec 04 '10 at 00:29
  • @Samaursa my pleasure to have found it. It helps to know what the link is telling you when searching IYSWIM... – Richard Harrison Nov 14 '12 at 12:19