您的位置:首页 > 编程语言 > Java开发

Eclipse使用Debug模式调试Spring Boot项目时跳转到exitCurrentThread的问题

2017-12-28 13:54 951 查看
Spring Boot项目使用了spring-boot-devtools工具且在Eclipse中Debug调试会自动跳转到这个方法:

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


解决方法:

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

参考:

https://stackoverflow.com/questions/32770884/breakpoint-at-throw-new-silentexitexception-in-eclipse-spring-boot
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: