I used MiniDumpWriteDump to create dump files on failure. I tried to make a complete memory reset. This seems to work, and generates a large file as expected.
However, when I load this huge file in Visual Studio (2005), I do not seem to see the values of any variables on the heap. Actually it gives me more information than a normal reset ...
My MiniDumpWriteDump call looks like this:
MINIDUMP_EXCEPTION_INFORMATION mdi;
mdi.ThreadId = GetCurrentThreadId();
mdi.ExceptionPointers = in_pInfo;
mdi.ClientPointers = FALSE;
MiniDumpWriteDump(GetCurrentProcess(),GetCurrentProcessId(),
fHan,
MiniDumpWithFullMemory,
&mdi,
0,
0);
Note. I have a full set of pdb, a valid stack, and in my test application I come up with a division by zero error.
Any idea why this is so?
Cheers Rich
source
share