View Full Version : How to generate heap dumps

27-02-2016, 11:03 AM
This post covers how to generate a heap dump. Heap dumps are used to debug problems in programs. Unlike minidumps, they contain a snapshot of the entire heap at the time the problem occurred.

Most of the information can be found here: http://blogs.msdn.com/b/debugger/archive/2009/12/30/what-is-a-dump-and-how-do-i-create-one.aspx

The essentials are:

Download Procdump
Launch Sven Co-op using procdump, or attach Procdump after the game has crashed and is displaying the error
When a crash has occurred, compress the dump file and send it to us

You can download Procdump here: https://technet.microsoft.com/en-us/sysinternals/dd996900.aspx

Launching the game using Procdump:

path/to/procdump -e -h -ma -g -x "path/to/dump/directory" "path/to/sven co-op exe"

Attaching Procdump after a crash:

path/to/procdump -ma svencoop.exe "path/to/dump/directory/filename.dmp"

These dump files only record information about Sven Co-op's state. It will not record anything else, so there are no security concerns.