Everytime I run my Spring Boot project on debug mode in Eclipse IDE (Spring Tool Suite), the thread stops at "throw new SilentExitException();" line even without a breakpoint.
Asked
Active
Viewed 5,223 times
2
-
https://stackoverflow.com/questions/32770884/breakpoint-at-throw-new-silentexitexception-in-eclipse-spring-boot – Chris Russell Oct 20 '17 at 08:45
2 Answers
7
This is a known issue.
There is a solution which is to uncheck the option under Java->debug->suspend on uncaught exception
This is described in this article
Breakpoint at "throw new SilentExitException()" in Eclipse + Spring Boot
This is what I put in my original post that was converted to a comment for being trivial, which I think was a little unfair.

Chris Russell
- 71
- 1
0
Set System property while run the application
@SpringBootApplication
public class SpringBootApplication {
public static void main(String[] args) {
System.setProperty("spring.devtools.restart.enabled", "false");//Avoid Breakpoint at “throw new SilentExitException()” in Eclipse + Spring Boot
SpringApplication.run(SpringBootApplication .class, args);
}
}

UdayKiran Pulipati
- 6,579
- 7
- 67
- 92