I've tried everything I can think of to kill a running notebook that is stuck in a loop and nothing works. The Interrupt Kernel button is always grayed out, tried restarting the kernel through the command prompt (P Key) but this doesnt seem to do anything either. The only way I've figured out how to stop the process is to kill the entire application in task manager.
In the task manager, can you see and kill the python process specifically? Still not a pretty solution, but perhaps better than killing the entire application.
Also gave this a shot, but it doesn't work. The process doesn't stop the loop.
esc P
does it look like this?
@DanPatterson, Yeah I tried the "confirm restart kernel" and on the notebook it seemed like it stopped but the code was still selecting features after it was restarted.
Chris, did you ever figure this issue out? I've got similar behavior. My interrupt kernel button is always greyed out when the kernel is busy. I've tried using the keyboard shortcut (I, I) as Dan recommended, and this does get rid of the asterisk next to a cell denoting that it's running, but the kernel itself doesn't stop, meaning I still can't run any other cells.
Can confirm this is still an issue as of 3.1. Up late on a Sunday night waiting for it to unfreeze.
This might not be the solution you are looking for, but if you use the menu "Cell > Current Outputs > Clear" it interrupts the current process and resets the in-progress marker to ready to run again.
There is also the interrupt Kernel button in the ribbon. I think this is even more effective and cutting off the process.