简体   繁体   English

如何查看 Windows 7 上的 .dmp 文件?

[英]How to view .dmp file on Windows 7?

I have created a "minidump" file using the Visual Studio 2008 C++ debugger (Debug menu -> Save dump as...).我使用 Visual Studio 2008 C++ 调试器(调试菜单 -> 将转储另存为...)创建了一个“小型转储”文件。 I am running on Windows 7, 64-bit.我在 Windows 7、64 位上运行。

What program can I run to view the contents of the dump file in a meaningful way?我可以运行什么程序以有意义的方式查看转储文件的内容?

What information are you trying to get out of it?你想从中获取什么信息?

WinDbg is my tool of choice. WinDbg是我选择的工具。

It's part of the Windows SDK.它是 Windows SDK 的一部分。 You can get download links from here: http://www.windbg.org/您可以从这里获得下载链接: http://www.windbg.org/

Note that there are three plaforms for it - x86, x64, and IA64.请注意,它有三个平台 - x86、x64 和 IA64。 You want the version based on what the application is designed for, not your architecture.您需要基于应用程序设计用途的版本,而不是您的架构。 So if it is a 32-bit process, either by running on x86 Windows or WOW64 on x64 Windows, you want the x86 version. So if it is a 32-bit process, either by running on x86 Windows or WOW64 on x64 Windows, you want the x86 version. Only use x64 if the dmp came from a 64-bit process.如果 dmp 来自 64 位进程,则仅使用 x64。

In my opinion WinDbg is the best.在我看来, WinDbg是最好的。

It is supplied as part of Microsoft Windows SDK .它作为Microsoft Windows SDK的一部分提供。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM