c - 是否可以在 Visual Studio 中加载不匹配的符号?

标签 c visual-studio debugging minidump

我有一个 Windows 小型转储(C 代码)和一个相应的 exe 文件。不幸的是,我没有完全匹配的 .pdb 文件,但我确实有包含完全相同的代码的 .pdb,只是在不同的时间构建的。在 Windbg 中,我可以使用:

.symopt+0x40

告诉它加载任何东西,甚至是不匹配的符号文件。这在这个特定实例中效果很好,我能够获得正确的调用堆栈。我只是好奇 Visual Studio 是否具有任何此类功能。我们在这里使用了几乎所有不同版本的 VS,因此使用哪个版本并不重要。谢谢。

最佳答案

尝试 this utility :

ChkMatch utility can be used to check whether an executable and debug information file match. It can also be used to enforce matching between an executable and debug information file, if they are compatible.

For more information about debug information matching and related issues, see this article.

Supported debug information formats: DBG, PDB 2.0, PDB 7.0...

关于c - 是否可以在 Visual Studio 中加载不匹配的符号?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3660084/

相关文章:

c - 查找 C 程序中的错误以反转字符串

javascript - 如何使用JSON.parse reviver参数解析日期字符串

c - 将函数分配给 packetbuf_copyfrom

c - Ptrace 为 execve 捕获许多陷阱

c++ - 简单的窗口但不起作用

c# - 部署到 Azure 应用服务后找不到我的存储库文件

c - 缓冲增长战略

c - 将 printf 重定向到串行端口

c++ - 类类型重定义错误

wordpress - 如何调试WordPress插件?