如何为模块手动加载PDB文件? [英] How do I manual load PDB file for module?

查看:496
本文介绍了如何为模块手动加载PDB文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何为我的模块手动加载PDB文件?

module.pdb打包并嵌入到资源module_res.DLL中。我想解压缩pdb并将其加载到dbghelp。

How do I manual load PDB file for my module?
The module.pdb packed and embedded into resource module_res.DLL. I want unpack pdb and load it to dbghelp.

推荐答案

你可能(几乎可以肯定)将不得不使用 DIA API

[ ^ ],其中还包含示例incl。 src。



很可能API只接受来自文件的输入(我自己从未使用过),所以你可能需要在使用之前将PDB解压缩并保存到磁盘它。



++运气;
You probably (almost certainly) will have to use the DIA API
[^], which also contains sample incl. src.

Chances are the API is only accepting input from files (I never used it myself), so you probably have to unpack and save the PDB to disk before using it.

++luck;


这篇关于如何为模块手动加载PDB文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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