Jumping to the error location in Pycharm when working with jupyter notebooks

Answered

Hi all,

I am running jupyter notebooks in Pycharm and, would like to know how I can quickly locate errors in the source code. If there is an error in the notebook, the execution stops, and then I have to manually scan the output to find where the error was. After that I'll need to jump to the source code.

Is there an automated way to to this. I'm talking about a feature similar to what Pycharm offers for regular python files, where you can just click on the error message, and it will jump to the corresponding location in the code.

Thanks in advance!

 

 

1
2 comments

I'm not sure if it's possible to implement since *.ipynb file is technically JSON.

But if so, then we should first support indexing of the Jupyter file content https://youtrack.jetbrains.com/issue/PY-30784

0

ok thank you for help.

0

Please sign in to leave a comment.