每次以debug方式启动springboot之后都会在SilentExitExceptionHandler类中的throw new SilentExitException()处断开,但是我明明没有下断点啊。如图:

解决办法 :window->preferences ->java->debug 取消“suspend execution on uncaught exceptions”选项即可

转载:https://blog.csdn.net/u012843361/article/details/79132432?utm_source=copy
本文介绍了一个SpringBoot项目在使用Debug模式启动时遇到的问题:程序会在SilentExitExceptionHandler类中的thrownewSilentExitException()处意外中断。文章给出了简单有效的解决方法:通过调整Eclipse的调试设置来避免此问题的发生。

51

被折叠的 条评论
为什么被折叠?



