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.
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.
Just to throw in some other suggestions:
I refer you to the follows MS KB article on the subject. You would typically debug the dump file using one of the Windows debugging tools, e.g. WinDbg. There are many articles on the web describing how to do this.
You can use adplus to produce a crash dump for a running application. The command may look something like this:
You can also attach to a process with windbg and run this command:
You might try using WinDbg as described here.
You can open Task Manager (by right clicking the task bar), find your process in the processes tab, right-click it and select Create Dump File.
Microsoft has a free tool called Userdump.exe which will do this.
It's pretty simple to use that tool to create a dump (.dmp) file for a process that shuts down with an exception or to create a dump file for a hanging process