Why does intellij idea not kill the debug process immediately?
问题 I'm using idea 2016.1.1 and wonder why idea does not kill the debug process immediately when I click the stop button. E.g. use this piece of code to reproduce it public class Main { public static void main(String[] args) { int i = 0; while (true) { i++; System.out.print("I'm still alive: "); System.out.println(i); } } } Set a breakpoint before the loop begins. Start a debugging session, wait until it breaks and press the red stop button (CTRL-F2). I would expect that the process is stopped