Friday, March 13, 2009

How to read Crash Dump file (.mdmp) using VS.net 2008


(1) Locate Dump file under doucments and settings\user\localsetting\Application Data\PC health\

(2) open .mdump using VS 2008 and run to break exception.
(3) load SOS.dll by ".load sos" command in the immediate windows.
(4) All the sos command now avaible !help list all command
(5) eg. !pe --- Print Exception and stack trace, !DumpStack, !CLRStack, !EEStack

Also you may need to load symbol from Microsoft Symbol Server, Tool->Options-> Debugging->Symbols --> uncheck "Search ...Manually"

No comments: