I use the idea 2016.1.1 and wonder why the idea does not kill the debugging process right away when I press the stop button.
eg. use this piece of code to play 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 starting the cycle.

Start a debugging session, wait until it breaks, and press the red stop button (CTRL-F2).

I expect the process to be stopped immediately and that it does not print anything, but it prints:
"C:\Program Files\Java\jdk1.6.0_38\bin\java" ....
Connected to the target VM, address: '127.0.0.1:54394', transport: 'socket'
Disconnected from the target VM, address: '127.0.0.1:54394', transport: 'socket'
I'm still alive: 1
I'm still alive: 2
I'm still alive: 3
I'm still alive: 4
...
I'm still alive: 319
I'm still alive: 320
I'm still alive: 321
I'm still alive:
Process finished with exit code -1
Why does the process not stop immediately?
Is there any other way to force a stop to stop?
EDIT
14.1.5. , . , 2016 .