Eclipse使用Debug模式调试Spring Boot项目时跳转到exitCurrentThread的问题
2017-12-28 13:54
951 查看
Spring Boot项目使用了spring-boot-devtools工具且在Eclipse中Debug调试会自动跳转到这个方法:
解决方法:
Eclipse->【Preferences】->【Java】->【Debug】:去掉【Suspend execution on uncaught exceptions】前面的勾。
参考:
https://stackoverflow.com/questions/32770884/breakpoint-at-throw-new-silentexitexception-in-eclipse-spring-boot
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
相关文章推荐
- Spring Boot项目使用Eclipse进行断点调试Debug
- eclipse中tomcat在debug模式下有时会自动跳转到processWorkerExit(w, completedAbruptly);中的问题
- java学习之旅15、16--eclipse开发环境的使用_建立java项目_运行java项目,eclipse运行程序的问题(src和bin问题)_debug模式
- 使用eclipse构建springboot项目的解决的一些问题
- IntelliJIdea 2016.2 使用 tomcat 8.5 调试spring的web项目时,bean被实例化两次导致timer和thread被启动了两遍的问题的解决
- 使用Eclipse创建spring boot项目
- spring boot 项目增加flyway的使用遇到问题解决
- 在本地tomcat中调试Spring boot项目遇到的一些问题
- Idea使用Maven创建多模块SpringBoot项目问题记录
- 使用Eclipse创建SpringBoot项目
- 使用eclipse创建springboot项目
- 怎样在Eclipse中使用debug模式调试程序
- 使用eclipse搭建springboot项目
- Eclipse_跳转到exitCurrentThread
- Eclipse中对Spring Boot 项目使用Swagger
- 使用SpringBoot的关于页面跳转的问题
- SpringBoot项目使用视图解析器解决Circular view path 问题
- 解决问题:vs 使用命令行参数调试时出现"当前项目设置指定将使用特定的安全权限对该项目进行调试.在此模式下,命令行参数将不会传递给可执行文件."
- 解决eclipse创建spring boot项目加载不到application.properties配置文件的问题
- 解决maven同步的eclipse中的springboot项目无法启动问题