问题
i have a Win32 compiler which, for years, has been able to create a DBG debug information file.
This has allowed debuggers, and tools like Process Explorer and Process Monitor to have access to symbol information:

i recently learned that Visual Studio's debugger no longer accepts DBG files, only undocumented Program Database (PDB) files:

Since Microsoft keeps the PDB format secret, i assume they have a tool that will allow me to convert existing debugging information to a PDB (so i don't learn the secrets of their file format).
Bonus Reading
- cv2pdb: how to use to convert other debug formats to pdb?
回答1:
PDB is not documented, but you can collect very detailed information about the content of PDB files programmatically using the appropriate interfaces See Sample
来源:https://stackoverflow.com/questions/9250379/convert-dbg-into-pdb