Sethu's blog

April 20, 2012

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

Filed under: debugging — sethusrinivasan @ 12:11 pm

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. 

About these ads

1 Comment »

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

    Comment by Ata — July 31, 2012 @ 1:27 am | Reply


RSS feed for comments on this post. TrackBack URI

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 )

Connecting to %s

Theme: Rubric. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: