springboot项目在Eclipse/Myeclipse中Debug启动跳转至断点(exitCurrentThread)

Spring Boot项目使用了spring-boot-devtools工具且在Eclipse中Debug调试会自动跳转到这个方法:

public static void exitCurrentThread() {
    throw new SilentEitException();
}

解决方法:

Eclipse->【Window】->【Preferences】->【Java】->【Debug】:去掉【Suspend execution on uncaught exceptions】前面的勾。

 

posted @ 2019-01-24 16:34  魔豆  阅读(300)  评论(0编辑  收藏  举报