How to collect dump for application crash
book
Article ID: CTX494493
calendar_today
Updated On:
Description
Method 1: ProcDump
Download link
https://docs.microsoft.com/en-us/sysinternals/downloads/procdumpprocdump.exe –ma –s 10 –n 3 PID //generate dump every 10s, totally 3 dump files
Procdump64.exe -ma -e 1 10352 -n 1 //generate 1 dump file when exception with PID
Procdump.exe -ma -e winword.exe //generate dump file when exception with Process name
Procdump.exe -ma -w -e wfica32.exe //-w wait for process running
procdump64.exe -ma -t -accepteula -w ctxgfx.exe //-t means exit for either exception or exit manually
Method 2: Debugger
Create c:\dumps manually
C:\>procdump -ma -i c:\dumps
C:\Dumps>procdump -ma -I
C:\>procdump -u //disable dump after problem
Method 23 windows registry
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps
DumpCount REG_DWORD //number of dump files
DumpFolder REG_EXPAND_SZ C:\DUMP //path of dump files.
DumpType REG_DWORD 0x00000002
DumpType meaning:
0 = Create a custom dump
1 = Mini dump
2 = Full dump
Environment
Caution! Using Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.
Was this article helpful?
thumb_up
Yes
thumb_down
No