最近看到一篇文章,方法不错。
原文地址:http://www.vckbase.com/document/viewdoc/?id=908
上面说到在程序崩溃时生成map文件。不过我用的是VS2008 的VC环境。似乎该方法已经被取消。请问谁知道替代方法。
原文地址:http://www.vckbase.com/document/viewdoc/?id=908
上面说到在程序崩溃时生成map文件。不过我用的是VS2008 的VC环境。似乎该方法已经被取消。请问谁知道替代方法。
文中实例详细讲解了WinDbg的常用方法。
搜索“vs2008 生成map文件”就有结果的
具体方法可参照如下示例:
If you have both the application.exe and the application.pdb files, put them in the same directory and run:dumpbin /map application.exe > application.map
dumpbin comes with Visual Studio and probably with other tools as well.
这篇文章很详细。我会转载下,避免后面原来的文章的网站关了以后查不到。
楼上几位说的都有用,但是太琐碎没有具体方法,需要自己在查下。启发很大,我看看VisualEleven的说明,去百度了下找到这篇文章。
fly4free说得对,当时想法僵化了没转过弯,查的关键词错了。