본문 바로가기
Tools/etc

스프링부트 throw new SilentExitException(); 디버그 해결방법

by wakestand 2022. 6. 20.
반응형

스프링부트에서 디버그 모드로 프로젝트 실행 시

throw new SilentExitException();

부분에 breakpoint를 걸어놓지 않았는데도

 

서버를 실행할 때마다

해당 부분에서 걸리는 경우가 있는데

 

이클립스 상단 메뉴에서

 

Window(Mac의 경우에는 Eclipse)

> Preferences를 누른 뒤

 

Java > Debug 로 들어와서

상단에 보이는

Suspend execution on uncaught exceptions

옵션 체크 해제 후 apply and close 를 해주면

 

디버그 모드로 서버를 실행할 때

throw new SilentExitException();

부분에서 디버그가 걸리지 않게 된다

반응형

댓글