天天看點

解決eclipse debug時自動跳到SilentExitException中進行斷點問題

解決eclipse debug時自動跳到SilentExitException中進行斷點問題

新的eclipse工具進行debug時,每次都會先跳到SilentExitExceptionHandler.class中斷點。是因為eclipse預設選中開啟發生未捕獲的異常時暫挂執行(也就是:Suspend execution on uncaught exceptions),隻要關閉這一選項就可以了。 

操作步驟:打開eclipse選擇Window->Preference->Java->Debug,将“Suspend execution on uncaught exceptions”的選項勾去掉。

解決eclipse debug時自動跳到SilentExitException中進行斷點問題

繼續閱讀