How can I take a dump file for Winforms application
问题 I have a C# application which is crashing for unknown reason. For understanding the issue, i want to take a dump file for it. How can i do it? many thanks, Oz. 回答1: Are you talking about taking a minidump when your application crashes so you can debug it with windbg or cdb ? If yes, there are different approaches: DrWatson -Run drwtsn32 -i at the commandprompt, this will activate dr watson and let it listen in the background for all crashes. Windbg -Run windbg -I from the commandpromt