苍崖

Results 4 comments of 苍崖

@cdmatta @wilkinsona When relying on developmentOnly'org.springframework.boot:spring-boot-devtools', the SpringBoot project will schedule the org.springframework.boot.devtools.restart.RestartLauncher#run() function in devtools when it starts, and the abnormal status code 0 is returned by the abnormal...

@msmerc @cdmatta You can debug at the following methods. ![image](https://user-images.githubusercontent.com/94830016/143665610-d8b744d2-83a9-446f-822b-aef0e2cb67c8.png) ![image](https://user-images.githubusercontent.com/94830016/143665617-b8ba39d2-7a31-4fae-bfec-1280d4a9a82d.png) @wilkinsona I think this situation is not a bug, isn't it ?

@wilkinsona @msmerc For the above problem, I tracked again and got the following results: 1、The first is to set SilentExitExceptionHandler in https://github.com/spring-projects/spring-boot/blob/3478e1912cbd545b83788187bf92a06a7453167f/spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/Restarter.java#L139 2、Suspend the main thread at https://github.com/spring-projects/spring-boot/blob/3478e1912cbd545b83788187bf92a06a7453167f/spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/Restarter.java#L296, and then...

@wilkinsona If this logic is unreasonable and I want to solve it, please give some guidance.