我知道在 Windows 中,您可以通过转到任务管理器->进程->右键单击进程来生成转储文件。
- 什么是转储文件?
- 我可以用 .dmp 文件做什么?
.dmp 文件是Minidump,实时进程的快照,包含有关其当前状态的信息(包括内存、堆栈跟踪、线程信息、模块信息、异常上下文信息)。此信息允许您检查进程的快照。它通常在进程由于未处理的异常而即将崩溃时生成,但可以在任何时候发生。
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.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)