Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ - pause a thread while debugging

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.

like image 511
Bick Avatar asked Oct 20 '10 10:10

Bick


1 Answers

You either use a standard breakpoint which will pause all threads when hit or you can use a breakpoint with the suspend policy = thread.

like image 147
CrazyCoder Avatar answered Oct 16 '22 04:10

CrazyCoder