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

前端 未结 6 2037
借酒劲吻你
借酒劲吻你 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 11:06

    Just to throw in some other suggestions:

    • ProcDump that is part of the MS SysInternals suite (it captures crashes but also does a load more, can take dumps if CPU usage spikes for an amount of time, etc)
    • You can put code into your exe using MiniDumpWriteDump to save out dumps youself (which I've done in a few tools). You have control over the name and location (i.e. network path). There's some sample code here

提交回复
热议问题