what is a “dump file” in windows task manager?

廉价感情. 提交于 2020-05-29 04:45:07

问题


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?

回答1:


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.


回答2:


As per https://msdn.microsoft.com/en-gb/library/d5zhxt22.aspx a dump file is a snapshot of the application at that moment in time.

Dump files are used to aid debugging applications when they go wrong.



来源:https://stackoverflow.com/questions/34252338/what-is-a-dump-file-in-windows-task-manager

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!