Why does Windows Error Reporting create two mini-dump files for each crash with Visual Studio installed?

235 views Asked by At

I followed these instructions to set up mini-dump collection on the Windows 10 machine. I set up the following keys:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps]
"DumpFolder"="C:\CrashDumps"
"DumpCount"=dword:00000100
"DumpType"=dword:00000002

The "C:\CrashDumps" folder's ACL is set up for the full access for Everyone.

Now when I'm testing it with a deliberately crashing app running the following C++ code:

BYTE* p = (BYTE*)rand();
*p = 1;

The app crashes but then I get two .dmp files in the folder:

enter image description here

This seems to be happening only with Visual Studio installed.

Why is it doing it? And is there a setting to make it create only one mini-dump file?

0

There are 0 answers