Shane Bartholomeusz

Technical Solutions Consultant

Capture program exceptions using Sysinternals Process Dump

So what is ProcDump?

I just thought I’d write a quick post showing you how to use the ProcDump utility, yet another great Sysinternals tool. This tool helps you capture unhandled exceptions in real-time from a running program.

Sysinternals Logo

Show me an example

Just to demonstrate how it works, in the below example I created a simple Console application which divides ‘1’ by a user input value.

  1. First I launched the console applicationConsole application source code
  2. Then I set a watch on the application through ProcDump by running command ‘procdump -e 2 -l -f “” consoleapplication2.exe‘. Note: In this case I’ve disabled the creation of a minidump file and enabled monitoring of debug output.Command line screenshot
  3. Next, I entered some values into the console application and monitored the debug and exception output through ProcDump.Command line screenshot

See, simple isn’t it 🙂

Shane Bartholomeusz

G’day, I’m a technical solutions consultant based in Perth, Australia that specialises in the Microsoft technology stack, including .NET, Dynamics 365, Azure and general web development etc.

This blog is my place to share my thoughts, helpful solutions and just random nerdy stuff.
Shane Bartholomeusz

Latest posts by Shane Bartholomeusz (see all)

1 Comment

Leave a Reply

© 2020 Shane Bartholomeusz

Theme by Anders NorenUp ↑

%d bloggers like this: