Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging a subnotebook #4

Open
zmbc opened this issue Jul 13, 2024 · 0 comments
Open

Debugging a subnotebook #4

zmbc opened this issue Jul 13, 2024 · 0 comments

Comments

@zmbc
Copy link

zmbc commented Jul 13, 2024

I'm not sure the best way to design this, but want to raise an idea for a potential feature: the ability to "debug" a subnotebook the same way you can "debug" a Jupyter notebook.

Here's one concrete way I can imagine this working, which would be clunky, but illustrates the aim: If an exception is encountered in a subnotebook, an actual notebook file is saved containing the subnotebook and its execution progress so far, and the running kernel (after the exception) is somehow automatically associated with the notebook, so that the user can open that new notebook in Jupyter and interactively run cells right after the failure.

Then, there could be a subnotebook equivalent of pdb.set_trace() that triggered this behavior without an exception.

Thoughts @davidbrochart? Do you think this is a reasonable idea, or misguided in some way?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant