Stopping application does not work

Answered

Hi,

 

I'm experiencing a rather severe issue ever since I updated to Windows 10.

Here is a simple example:

1. I place a debug point between two simple commands, run the script in debug mode and let the application pause there

Log message printed as expected.

2. Hit the red square (STOP) command to terminate the program.

I would expect that the application would stop immediately.

3. Instead the console looks like this:The second command AFTER the breakpoint was executed anyway.

What am I missing here? Even longer scripts keep running regardless that I hit the stop button, there is no way to actually terminate a process in debug mode. This is really severe.

 

Do you have any suggestions or is there something trivial I am missing?

 

Thanks,

Peter

3 comments
Comment actions Permalink

Try adding Thread.sleep(1000); before "End" as a workaround.

See https://youtrack.jetbrains.com/issue/IDEA-155007#comment=27-1413755 for the problem background.

0
Comment actions Permalink

Hi Serge

Like I said: "Even longer scripts keep running regardless that I hit the stop button". Thread sleep does not do anything. I am not looking for a workaround but a way to eliminate the issue all together.

Thank you anyway :)

0
Comment actions Permalink

Can't confirm that it doesn't help:

0

Please sign in to leave a comment.