Logo Questions Linux Laravel Mysql Ubuntu Git Menu

Kill java thread in Intellij-IDEA debugger

I've found several posts with instructions of how to kill java thread with jdb http://www.rhcedan.com/2010/06/22/killing-a-java-thread/ or on SO. This works. Now I want to kill thread with Intellij-IDEA debugger. Is it possible to do?

like image 668
vkolodrevskiy Avatar asked Mar 16 '23 22:03


1 Answers

There is a little icon on the right side of the Debug view:

Threads icon

This will open 'Threads' tab and there you can right-click on some of them and select 'Interrupt' (and press F9 if you are sleeping on some breakpoint).

like image 125
Foyta Avatar answered Mar 19 '23 18:03