idea中springboot2.7(由于步入另一个线程,已跳过 xxx 处的断点)
idea springboot2.7 debug
问题
springboot 2.7 debug 模式时引入 spring-boot-devtools 卡在代码中不往下执行,提示:由于步入另一个线程,已跳过 xxx 处的断点。
原因
springboot 2.7 引入 spring-boot-devtools
<!-- debug时不推荐开启 --><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-devtools</artifactId><scope>runtime</scope><optional>true</optional></dependency>
解决
删除 spring-boot-devtools 依赖