Can I pause a thread while debugging on intellij? What I want to have is something similiar to other ID - right click on a thread and pause it.
Asked
Active
Viewed 7,380 times
1 Answers
16
You either use a standard breakpoint which will pause all threads when hit or you can use a breakpoint with the suspend policy = thread.

CrazyCoder
- 389,263
- 172
- 990
- 904
-
4This isn't useful if you don't know where in the code a thread is executing, and impossible if the thread is in the blocked state (waiting for notify/synchronized/lock) – Mark Jeronimus May 06 '16 at 13:07