-
Notifications
You must be signed in to change notification settings - Fork 20
Memory dump file (Windows)
nullsystem edited this page Jun 29, 2024
·
2 revisions
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.
- Checkout the commit/version matching the commit/version of the crash dump
- Do a full rebuild of the project in release-mode (x86-Release), make sure the cmake variable
CMAKE_BUILD_TYPEis set toRelWithDebInfo - Make sure in
mp\src\out\build\x86-Release\game\client, it outputsclient.dllandclient.pdb - Download and copy over that dump file over to
C:\Program Files (x86)\Steam\dumps, then open that file - Visual Studio should pop up, the header should read "Minidump File Summary"
- On the right-side, click "Debug with Native Only"
- The breakpoint with call stack, variables, and source code file where it breaks should appear. If not just locate it.