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?
Asked
Active
Viewed 4,335 times
4
-
Execute System.exit(0). – TheCurious Jan 29 '20 at 12:29
1 Answers
7
There is a little icon on the right side of the Debug view:
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).
Foyta
- 510
- 1
- 7
- 8
-
3In order to have the possibility of **Interrupt thread** you have to: `right click on threads` -> `Customize Threads View` -> check `Show method arguments types` – Radu Linu Dec 08 '17 at 12:50