windowscrashbatch-processingwindbgminidump

core dump files batch processing (Windows)


I have many core dumpe (or minidump) files from customer (.dmp) I can open each in MS Visual Studio and see the callstack. I can do it also with WinDBG. But since there are many of them and I want to categorize the crashes. Is there a way to do batch processing that will get a list of .dmp files as input and give a list of .txt files with the callstack?

I tried WinDBG with commandline, but couldn't see how to create a command that takes .dmp file as input and prints the callstack as output (or save it in text file)


Solution

  • Something like

    for %d in (*.dmp) do C:\fullpath\cdb.exe -c ".logopen %d.log; .exr -1; k; .logclose; q" -z %d
    

    works for me most of the time.

    As for the commands: