ISISComputingGroup / IBEX

Top level repository for IBEX stories
4 stars 2 forks source link

Enable crash dumps on instruments #8403

Open FreddieAkeroyd opened 4 days ago

FreddieAkeroyd commented 4 days ago

As a developer i would like crash dumps to be written by windows error reporting when an "unexpected application termination" occurs. As per https://learn.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps the following should work

reg add "HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" /v DumpFolder /t REG_EXPAND_SZ /d C:\Instrument\Scratch\CrashDumps /f
reg add "HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\WmiPrvSE.exe" /v DumpCount /t REG_DWORD /d 0 /f

Enabled on: