Quantcast
Viewing all articles
Browse latest Browse all 10386

Miscellaneous Utilities : How to capture managed crash with ProcDump 7.0

Author: bgrainger
Subject: How to capture managed crash with ProcDump 7.0
Posted: 15 July 2014 at 9:23pm

Since upgrading to ProcDump 7.0, I haven't been able to capture a managed crash. Is there a new command-line option I need to pass, or is this no longer working in v7.0? (I have no problem capturing a crash from a native C++ program.)

Here's a simple app that crashes immediately when it's run: https://github.com/bgrainger/CrashingApp

When I run it as follows, no dump file is produced.

C:\Temp>procdump -e -x C:\Temp CrashingApp\bin\Release\CrashingApp.exe

ProcDump v7.0 - Writes process dump files
Copyright (C) 2009-2014 Mark Russinovich
Sysinternals - www.sysinternals.com
With contributions from Andrew Richards

Process:               CrashingApp.exe (10172)
CPU threshold:         n/a
Performance counter:   n/a
Commit threshold:      n/a
Threshold seconds:     10
Hung window check:     Disabled
Log debug strings:     Disabled
Exception monitor:     Unhandled
Exception filter:      *
Terminate monitor:     Disabled
Cloning type:          Disabled
Concurrent limit:      n/a
Avoid outage:          n/a
Number of dumps:       1
Dump folder:           C:\Temp\
Dump filename/mask:    PROCESSNAME_YYMMDD_HHMMSS


Press Ctrl-C to end monitoring without terminating the process.

CLR Version: v4.0.30319

[13:20:50] Exception: E0434F4D.System.FormatException ("Input string was not in a correct format.")

Unhandled Exception: System.FormatException: Input string was not in a correct format.
   at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
   at CrashingApp.Program.Main(String[] args) in c:\Users\bgrainger\Documents\Visual Studio 2013\Projects\CrashingApp\Program.cs:line 7
[13:20:51] The process has exited.
[13:20:51] Dump count not reached.

Viewing all articles
Browse latest Browse all 10386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>