3

Are minidump files useful for analysing .NET WinForms app crashes? I notice that NBug has the option of producting them, but if I was to receive one, I'm not sure how it could help over looking at the stack trace.

How would one use this file for .NET debugging?

NickG
  • 9,315
  • 16
  • 75
  • 115
  • 1
    See [here](http://stackoverflow.com/questions/1547211/how-to-create-minidump-for-my-process-when-it-crashes). The answer to that question might be of use to you. – Stefan May 31 '13 at 10:04

1 Answers1

1

A mini dump is a very broad category of dumps. You can create a mini dump with full process memory, and you can create a mini dump that doesn't contain anything except loaded modules and some stack pages. To debug managed dumps, you need the regions of memory that contain JIT-ted code to be available to the debugger in the dump file. The easiest way to do this is to create a full dump (mini dump with full memory). You can then inspect it using the SOS extension in WinDbg, or you can simply drag-and-drop it into Visual Studio 2010 or higher.

Sasha Goldshtein
  • 3,499
  • 22
  • 35