How can I configure windows to generate a core dump from an application?

前端 未结 6 2004
借酒劲吻你
借酒劲吻你 2020-12-13 10:17

How can I configure windows to generate a core dump from an application?

I\'m using Win xp, and the application is build with Visual Studio 2003.

6条回答
  •  失恋的感觉
    2020-12-13 10:56

    You can use adplus to produce a crash dump for a running application. The command may look something like this:

    C:\Program Files\Debugging Tools for Windows\adplus.vbs -hang -do -o c:\ -quiet -pn theprocess.exe
    

    You can also attach to a process with windbg and run this command:

    .dump /ma c:\somepath\filename.dmp
    

提交回复
热议问题