How to catch unhandled exceptions?

Damir Dobric Posts

Next talks:



Follow me on Twitter: #ddobric




One of most frustrating things in my life is when I’m setting in front of a monitor and by even watching some software, its process smoothly crashes. My personal favorites are Visual Studio, WinWord and PowerPoint. If you ever had this issue you are right here Smile

There is a tool written by Mark called ProcDump. This tools attach itself to the wanted process and wait until some exception is thrown, which is not handled. When an unhandled exception happens in the process, causing it to crash, a process dump will be created automatically.

To run the tool run following:

procdump.exe -e -ma devenv.exe


procdump.exe -ma -e -x devenv.dmp "c:\Program Files (x86)\Microsoft Visual Studio ___\Common7\IDE\devenv.exe"

This will create the dump-file, which can b further initialized by Visual Studio.

Posted Dec 02 2014, 06:37 AM by Damir Dobric is a .Net Community Blog powered by daenet GmbH.