what is a "dump file" in windows task manager?

user5543585 picture user5543585 · Dec 13, 2015 · Viewed 29.8k times · Source

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?

Answer

IInspectable picture IInspectable · Dec 13, 2015

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.