Reputation: 6816
I like to stop the execution of a debug thread that I run in IntelliJ Ultimate 2019.3
.
I can stop the entire JVM process, but that will require to restart the web application that takes a lot of time to spin up.
I found this request for such a feature (back from 2015), but I see no new way to do it.
Upvotes: 1
Views: 505
Reputation: 6816
Following y.bedrov comment, the solution was indeed to get to the "Throw Exception" wizard and then to enter there
new RuntimeException("error")
Upvotes: 2