Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Suspending Threads while Debugging Java Application IntelliJ

I'm debugging a multi-threaded Java application in IntelliJ. I want to suspend all threads on some breakpoint and resume only selected thread while I step-over the code. I can suspend all threads on a breakpoint, but when I step-over the code from one thread, others are also running. Is it possible to do so?

Thanks in advance for the help!

like image 560
Karthik Chennupati Avatar asked Jun 23 '26 13:06

Karthik Chennupati


1 Answers

There's a setting exactly for this here: Preferences | Build, Execution, Deployment | Debugger | Stepping - Resume only the current thread

like image 165
Egor Avatar answered Jun 25 '26 03:06

Egor



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!