Pycharm & dataspell fail to run code

I'm running application code using the juypter notebook either from pycharm or dataspell.  I can step into the code with the debugger, which is great.  However, if I change the code & then run again, the changes don't always execute.

Is there some magic that I need to invoke to tell the notebook executor to pick up the changes (I hope)?   

FWIW, I'm using mac M3 Max, with Sonoma 14.3.1.   It has been known, in my brief acquaintance, to misbehave on at least one thing I would expect to work, so maybe it's a chip set problem.

Thanks, Beth

0
1 comment

Hi Elizabeth Kirby

Is there some magic that I need to invoke to tell the notebook executor to pick up the changes

You need to restart debugging. Here is a short excerpt from documentation:

https://www.jetbrains.com/help/pycharm/running-ipython-notebook-cells.html#debug-code-in-jupyter-notebooks

The debugger may skip a cell if you change its source code or execute it not under the debugger. Also, you can see a warning message when trying to modify the cell code during the debugging session.

0

Please sign in to leave a comment.