2015-03-31 24 views
0

我試圖讓使用ProcDump命令如下我的應用程序的轉儲文件:procdump.exe顯示異常的含義是什麼?

c:\dump>procdump.exe -e -h -ma -o -w myapp.exe c:\dump 

ProcDump v6.00 - Writes process dump files 
Copyright (C) 2009-2013 Mark Russinovich 
Sysinternals - www.sysinternals.com 
With contributions from Andrew Richards 

Waiting for process named myapp.exe... 

Process:    myapp.exe (1620) 
CPU threshold:   n/a 
Performance counter: n/a 
Commit threshold:  n/a 
Threshold seconds:  n/a 
Number of dumps:  1 
Hung window check:  Enabled 
Exception monitor:  Unhandled 
Exception filter:  * 
Terminate monitor:  Disabled 
Dump file:    c:\dump\myapp_YYMMDD_HHMMSS.dmp 


Press Ctrl-C to end monitoring without terminating the process. 

[12:23:13] Exception: E0434F4D.COM 
[12:23:27] Exception: E0000001 
[12:23:38] Exception: 80040155 
[12:25:21] Exception: E0434F4D.COM 
The process terminated 

但是,什麼是例外E0434F4D.COM,E0000001,以及80040155的含義是什麼?

+0

你用google搜索了嗎?並且你把你的程序放在一個try-catch上來捕捉異常 – Brainless 2015-03-31 05:54:55

+0

感謝你的回覆。我用他們的谷歌,但我找不到答案。我需要知道這些例外是什麼意思,因爲我們的應用程序非常大...... – TDBao 2015-03-31 08:46:29

+0

您是否嘗試過「嘗試 - 抓住」?此外,您是否嘗試過以下方法:1)編輯您的應用程序st。一半的函數被調用。如果問題仍然存在,請將它除以2等等。2)以前的穩定版本是什麼?逆轉到那裏並逐步走向3)您是否在使用第三方?它可能是你的煩惱的原因。嘗試用模擬第三方替換它們。 4)通過設置斷點和逐行逐行(無需輸入每個功能...),5)等來調試您的應用程序... – Brainless 2015-03-31 15:41:48

回答

1

這些數字是例外代碼,可以例如在WinDbg中用於處理異常(命令是sxe)。

  • E0434F4D是一個.NET例外

    字符.COM是錯誤代碼的ASCII表示(從WinDbg的輸出):

    0:017> .formats e0434f4d 
    Evaluate expression: 
    ... 
    Chars: .COM 
    
  • 80040155看起來像一個HRESULT(輸出從WinDbg):

    0:017> !error 80040155 
    Error code: (HRESULT) 0x80040155 (2147746133) - Interface not registered