使用哪个工具打开.pdb(符号)文件? [英] Which tool to use to open .pdb (symbol) files?

查看:494
本文介绍了使用哪个工具打开.pdb(符号)文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有 .pdb 文件,是从MS符号服务器下载的。我需要获取符号列表(函数,参数,它具有的所有内容)。 CodeProject上有一个工具,但仅报告模块。有 DbgHelp API,但只能在运行的进程中使用。我如何离线读取 .pdb 文件?

I have .pdb file, downloaded from MS symbols server. I need to fetch list of symbols (functions, arguments, anything it has). There is a tool on CodeProject, but it only reports modules. There is DbgHelp API, but it only could be attcahed to running process. How can I read .pdb file offline?

推荐答案

您还可以使用Visual Studio的 Dia2Dump 示例程序从PDB文件转储人类可读的输出,包括公共符号。

You can also use Visual Studio's Dia2Dump sample program to dump human-readable output from a PDB file, including its public symbols.

请务必将其构建为32位应用程序,否则可能会遇到一些问题问题。 (请参见 dia2dump:CoCreateInstance失败-HRESULT = 80040154

Be sure to build it as a 32-bit application though, or you might run into some problems with it. (See dia2dump: CoCreateInstance failed - HRESULT = 80040154)

这篇关于使用哪个工具打开.pdb(符号)文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆