Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How to keep the application running during a breakpoint?

When testing/debugging a Java application, how one could put a breakpoint somewhere that get’s caught and does not hang the whole application?

I have a simple Spring Boot application, and when I set a breakpoint somewhere in my IntelliJ Community IDE, the whole app hangs.

How can I allow the app to run even though I am holding one thread?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Could I get 2 breakpoints at the same time from 2 users trying to login at the same time?

>Solution :

When you rightclick on the breakpoint in Intellij you can select suspent from "all" to "Thread" so only the current thread stops and your application should keep running.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading