开发者

What is the structure of a PDB file?

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?


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.


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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜