天天看点

解决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中进行断点问题

继续阅读