I started learned windbg and I found this good post How to use WinDbg to analyze the crash dump for VC++ application?
Now I want to follow the instructions and do it
This will produce a null pointer dereference exception: *((int*) 0) = 0;
*((int*) 0) = 0;
This will produce integer division by zero: int a = 0; int b = 5 / a;
int a = 0; int b = 5 / a;
EDIT: Post-Mortem Debugging Your Application with Minidumps and Visual Studio .NET contains a lot of sample code and theory on using minidumps.