读取Windows * .dmp文件 [英] Reading a windows *.dmp file

查看:600
本文介绍了读取Windows * .dmp文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如果有人知道如何在应用程序崩溃后编写C / C ++打开一个Windows * .dmp文件。

解决方案

使用Visual Studio的文件>打开项目或免费WinDbg(的一部分)调试工具Windows 文件>打开崩溃转储选择dmp文件。



确保配置工具包括该应用程序的PDB调试符号的位置的路径(您有符号吗?)。任一工具都有一个线程和调用堆栈窗口,应该给你一个好主意,发生崩溃的地方。包括源代码的路径也将有所帮助。



符号和源路径可以在文件菜单下的WinDbg中设置。它隐藏在Visual Studio中的工具>选项>调试>符号 工具>选项>项目和解决方案> VC ++指令

I was wonder if any knows how to open up a windows *.dmp file after a application crash written C/C++.

解决方案

Using Visual Studio's File>Open Project or the free WinDbg's (part of Debugging Tools for Windows) File>Open Crash Dump select the dmp file.

Make sure to configure the tools to include a path to the location of the PDB debugging symbols for that application (you do have symbols right?). Either tool has a thread and call stack window that should give you a good idea where the crash occurred. Including paths to the source code will help as well.

Symbol and Source paths can be set in WinDbg under the File menu. It's buried in Visual Studio under Tools>Options>Debugging>Symbols and Tools>Options>Project and Solutions>VC++ Directores

这篇关于读取Windows * .dmp文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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