什么是“转储文件”?在Windows任务管理器中? [英] what is a "dump file" in windows task manager?

查看:1065
本文介绍了什么是“转储文件”?在Windows任务管理器中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道在Windows中,您可以通过转到任务管理器->进程->右键单击进程来生成转储文件。


  1. 什么是转储文件?

  2. .dmp文件怎么办?


解决方案

.dmp文件是 Minidump ,是实时进程,包含有关其当前状态的信息(包括内存,堆栈跟踪,线程信息,模块信息,异常上下文信息)。此信息使您可以检查进程的快照。它通常在进程由于未处理的异常而崩溃时生成,但是可以在任何时候使用。



可以使用 MiniDumpWriteDump API,并使用任何Windows调试器(例如Visual Studio < sup> 1)或 WinDbg,KD,CDB ,NTSD )。有关其他信息,请参见崩溃转储分析。 p>



1)根据Minidump文件中存在的信息,Visual Studio可能无法打开一个特定的.dmp文件。据我所知,其他调试器没有施加任何限制。


I know that with windows you can generate a dump file by going to task manager->processes-> right clicking on the process.

  1. what is a dump file ?
  2. what can i do with .dmp file?

解决方案

A .dmp file is a Minidump, a snapshot of a live process containing information about its current state (including memory, stack traces, thread information, module information, exception context information). This information allows you to inspect a snapshot of a process. It is often generated when a process is about to crash due to an unhandled exception, but can be taken at any point.

It can be created using the MiniDumpWriteDump API, and opened with any Windows Debugger (like Visual Studio1) or WinDbg, KD, CDB, NTSD). See Crash Dump Analysis for additional information.


1) Depending on the information present in the Minidump file, Visual Studio may not be able to open a specific .dmp file. The other debuggers do not impose any restrictions, as far as I know.

这篇关于什么是“转储文件”?在Windows任务管理器中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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