spring-boot项目在Eclipse中Debug调试就跳转到exitCurrentThread

项目出了点bug需要断点调试

之前把项目改造成spring-boot项目了

debug启动之后自动就跳转到

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

这个方法中。

去网上科普了一下发现解决办法也挺简单的

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

点击应用,确定。

再次进入debug,问题解决。


猜你喜欢

转载自blog.csdn.net/u012998306/article/details/79316837