Tuesday, January 18, 2011

double .dmp 直接開啟windbg進行分析的方法

常常得要分析不論 OS 的crash dump 或是AP 的dump, 利用按右鍵開啟windbg 的方式是無法使用的, 無意間看到, 做個記錄


-IA[S]
Associates WinDbg with the file extensions .dmp, .mdmp, and .wew in the registry. After this action is attempted, a success or failure message is displayed. If S is included, this procedure is done silently if it is successful; only failure messages are displayed. After this association is made, double-clicking a file with one of these extensions will start WinDbg.

The -IA parameter must not be used with any other parameters. This command will not actually start WinDbg, although a WinDbg window may appear for a moment.


所以只要執行 windbg -IA
這樣就可以直接dobule click dump file 就可以開始來分析了...!!


No comments: