You can write minidump like this when it reaches a breakpoint:
bp myDLL!myFunc ".dump /ma c:\myDump.dmp;g"
This will add a breakpoint to your function and execute the commands in quotation marks, this will write a mini-drive with most flags, and then continue.
See here for more information on .dump and here in the bp syntax.
To unload full memory in user or kernel mode:
.dump /f
but the /ma switch does provide more user mode information.
If you get an error message:
Unable to create file 'c:\myDump.dmp' - Win32 error 0n5 "Access is denied."
try writing the file to the c: \ users \ public \ directory.
.dump /fc:\users\public\myDump.dmp
Edchum
source share