pastebin - collaborative debugging tool
nrubsig.kpaste.net RSS


enable Windows application crash dumps+debug them with cdb
Posted by Anonymous on Fri 30th Aug 2024 12:21
raw | new post

  1. # enable Windows application crash dumps:
  2. regtool add '/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/Windows Error Reporting/LocalDumps'
  3. regtool -i set '/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/Windows Error Reporting/LocalDumps/DumpType' 2
  4. mkdir -p "$(cygpath -u "$(echo $LOCALAPPDATA)")/CrashDumps"
  5.  
  6. # run debugger with crash dump:
  7. PATH+=':/cygdrive/c/Program Files (x86)/Windows Kits/10/Debuggers/x64/'
  8. cdb -z "$(cygpath -w /cygdrive/c/Users/roland_mainz/AppData/Local/CrashDumps/link.exe.1640.dmp)"

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at