Skip to content

Memory dump file (Windows)

nullsystem edited this page Jun 29, 2024 · 2 revisions

Fetching the dump files

Assuming default Steam installation, they'll be in: C:\Program Files (x86)\Steam\dumps. The filenames typically starts with: crash_hl2.exe_ and have a dmp file extension. When filing a crash bug report, make sure to note the version of the build and attach the dump file with it.

Viewing a dump file

  1. Checkout the commit/version matching the commit/version of the crash dump
  2. Do a full rebuild of the project in release-mode (x86-Release), make sure the cmake variable CMAKE_BUILD_TYPE is set to RelWithDebInfo
  3. Make sure in mp\src\out\build\x86-Release\game\client, it outputs client.dll and client.pdb
  4. Download and copy over that dump file over to C:\Program Files (x86)\Steam\dumps, then open that file
  5. Visual Studio should pop up, the header should read "Minidump File Summary"
  6. On the right-side, click "Debug with Native Only"
  7. The breakpoint with call stack, variables, and source code file where it breaks should appear. If not just locate it.
Clone this wiki locally