Collecting User mode dumps in even if Windows Error reporting is disabled


At times mini dumps may not be sufficient to debug a specific issue. We may need a full process dump to further investigate the problem. came across a MSDN article that explains how to enable collecting user mode dumps  to a local folder.  Here is the link http://msdn.microsoft.com/en-us/library/bb787181(VS.85).aspx

Copy the following to notepad and name the file as localdumps.reg, You can then import it to Registry. Make sure that you have created a folder %LOCALAPPDATA%\CrashDumps

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps]

“DumpCount”=dword:00000100

“DumpType”=dword:00000002

“DumpFolder”=hex(2):25,00,4c,00,4f,00,43,00,41,00,4c,00,41,00,50,00,50,00,44,\   00,41,00,54,00,41,00,25,00,5c,00,43,00,72,00,61,00,73,00,68,00,44,00,75,00,\   6d,00,70,00,73,00,00,00

You can download .reg file from here. Sample .NET application that simulates a Crash is available here

This posting is provided “AS IS” with no warranties, and confers no rights. 

Advertisements

Developer @ SQL Server Team, Microsoft

Posted in debugging
2 comments on “Collecting User mode dumps in even if Windows Error reporting is disabled
  1. Ata says:

    Hi Sethu,
    how can I monitor apps which are running in safe mode ? Any ideas?

  2. P says:

    Hi There,

    not sure why I can’t get the dump from my 32/64 bit C++ Null Pointer Test program.
    I have tried on both Win 7 and Win 2008 R2.

    Any ideas ?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: