What is the structure of a PDB file?

馋奶兔 提交于 2019-11-28 08:29:24

问题


I am trying to understand how a debugger uses PDB file. It would probably be a small file system in itself. Could someone help me understand the structure of the PDB file?


回答1:


According to this blog post, the actual file format is kept secret by MS. However, I recommend you read that post as it has a lot of useful information what a PDB file is and how it's used.




回答2:


According to MSDN, its impractical:

Because the format of the .pdb file generated by the postcompiler tools undergoes constant revision, exposing the format is impractical

A debugger would use the DIA SDK to access the data inside them, meaning you don't really need to know its structure.




回答3:


As a matter of fact, the format of 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/6374153/what-is-the-structure-of-a-pdb-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!