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

前端 未结 2 2053
小鲜肉
小鲜肉 2021-01-12 17:03

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
相关标签:
2条回答
  • 2021-01-12 17:12

    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.

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题