注意事项:
1. 我在debug启动时,项目启动结束时停到了如下位置:
```
public static void exitCurrentThread() {
throw new SilentExitException();
}
```
不过倒不影响项目运行,自动启动也是可以的,在stackoverflow上找到的解决方案是:
Eclipse -> Preferences ->Java ->Debug
去掉"Suspend execution on uncaught exceptions"前面的勾;
参考资料:[Breakpoint at “throw new SilentExitException()” in Eclipse + Spring Boot](https://stackoverflow.com/questions/32770884/breakpoint-at-throw-new-silentexitexception-in-eclipse-spring-boot)
本文介绍了一个在使用Eclipse调试Spring Boot项目时遇到的问题:项目启动时出现异常中断,并停留在特定代码行。文章提供了从Stack Overflow上找到的解决方案,即调整Eclipse的调试设置来避免这一现象。
2251

被折叠的 条评论
为什么被折叠?



