stop button turns to skull when I "rerun" in debugger

often in the pycharm debugger I want to re-run code from the beginning, and so I may click on the "rerun" button in the debugger window.  Sometimes clicking this doesn't cause re-run though, at least not immediately.  Instead the "stop" button (a red square) toggles to a "skull" and it's as if execution is paused.  If I click the skull it re-runs.

I'd like it to just re-run without an extra click on the skull.  How to achieve this?

I am running 5.0.1 on linux.

I've found a workaround.

Press Help -> Find Action... (Ctrl+Shift+A)

Search "Registry..." and double click it.

Search there for "use.winp.for.graceful.process.termination".

Uncheck it.


I just started seeing this yesterday and I'm not sure what I might have done to cause it.

Although my case a slightly different.  I get the skull icon when I stop the process. 


Oddly, I was just able to 'fix' the problem by rebooting the PC.  I'm on windows 7.

I'd love to know what that was all about, and what I might have done to trigger it.


I'm having the same problem on Linux (Deiban Jessie). I rebooted, but the problem still persists. Has anyone figured this out? It's quite bothersome.


As of August 2021, this bug is still not fixed.

I've started noticing it when I ticked the checkbox asking me if I don't want to be asked whether I want to terminate the process before restarting. The message stopped showing, but now I always have to press "Restart" twice for my program to actually restart.

I'm using PyQT and custom error messages' handling. The program does receive a KeyboardInterrupt the first time, but doesn't close. I wouldn't want to modify all  my software just for the sake of having a workaround for the bug in the IDE.