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

32,581

Solution 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.

Solution 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.

Share:
32,581
Admin
Author by

Admin

Updated on March 02, 2020

Comments

  • Admin
    Admin over 4 years

    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?