MyEclipse使用Debug模式 啓動 Spring Boot項目時總是跳轉到exitCurrentThread 解決

Spring Boot項目使用了spring-boot-devtools工具且在Eclipse中Debug調試會自動跳轉到這個方法:

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

解決方法:

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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章