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】前面的勾。

猜你喜欢

转载自www.cnblogs.com/modou/p/10315267.html