Spring Boot項目使用了spring-boot-devtools工具且在Eclipse中Debug調試會自動跳轉到這個方法:
public static void exitCurrentThread() {
throw new SilentExitException();
}
解決方法:
Eclipse->【Preferences】->【Java】->【Debug】:去掉【Suspend execution on uncaught exceptions】前面的勾。
Spring Boot項目使用了spring-boot-devtools工具且在Eclipse中Debug調試會自動跳轉到這個方法:
public static void exitCurrentThread() {
throw new SilentExitException();
}
解決方法:
Eclipse->【Preferences】->【Java】->【Debug】:去掉【Suspend execution on uncaught exceptions】前面的勾。