版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/xingxiupaioxue/article/details/84659878
Spring Boot项目使用了spring-boot-devtools工具且在Eclipse中Debug调试会自动跳转到这个方法:
public static void exitCurrentThread() { throw new SilentExitException(); }
解决方法:
Eclipse->【Preferences】->【Java】->【Debug】:去掉【Suspend execution on uncaught exceptions】前面的勾。