如何通过Visual Studio 2005分析转储文件??? [英] How to analyze the dump file through visual studio 2005 ???

查看:231
本文介绍了如何通过Visual Studio 2005分析转储文件???的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我在使用Visual Studio 2005的Windows Server 2003 x64计算机上工作.我已经编写了用于在应用程序中使用MiniDumpWriteDump函数生成minidump文件(.dmp文件)的代码. .br

我无法通过Visual Studio分析minidump文件.我知道您需要具有相应的pdb文件才能分析转储文件.但是,您可以在Visual Studio中指定pdb文件的位置.

我按照以下步骤操作:-
-在文件"菜单上,单击打开解决方案" 并通过单击打开.dmp文件来创建默认项目.
-按F5

警告显示EXE不包含调试信息,调试器我停止了用户的崩溃,但是调用堆栈没有符号.
我通过给MODPATH ="pdb文件的路径"指定了pdb文件的路径.在项目Icon的属性中.这也无助于获取进程中每个线程的确切堆栈跟踪.

有人可以提及分析.dmp文件的有效方法吗?


-Navin

Hi All,

I am working on Windows server 2003 x64 machine which has Visual Studio 2005. I have written the code for generating a minidump file (.dmp file) by using the MiniDumpWriteDump function in my application.

I am not able to analyze the minidump file through the visual studio. I know that you need to have the respective pdb files to analyze the dump file. But where in Visual studio do you specify the pdb file location.

I followed these steps:-
- On the File menu, click Open Solution and created a default project by clicking open the .dmp file
- Pressed F5

Warning is displayed that the EXE contains no debug information, the debugger stops with the user's crash but the call stack had no symbols.
I specified the path of pdb files by giving MODPATH="path of pdb files" in the properties of project Icon. This too didnt help getting the exact stacktraces of each thread in the process.

Can someone please mention an effective way of analyzing the .dmp file ??

Thanks,
- Navin

推荐答案

快点!

我有同样的问题.


这篇关于如何通过Visual Studio 2005分析转储文件???的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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