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

Run by line: Continue on the line we left off after fixing an error, instead of at the top #7716

Closed
bamurtaugh opened this issue Sep 28, 2021 · 2 comments

Comments

@bamurtaugh
Copy link
Member

Testing microsoft/vscode#133903

  • RBL through a cell
  • Error in cell, i.e. ModuleNotFoundError: No module named 'pydotplus'
  • RBL stops and line is no longer highlighted
  • Once I fix the error (i.e. install missing module), if I start RBL in cell again, have to restart from top
  • Could it make sense to:
    • Keep error line highlighted? At first when I ran into errors (i.e. some imports missing early on in a cell), I thought perhaps RBL stopped when it encountered from statements
    • Keep user's place? So that when I install the package and RBL again, I can pick up where I left off?

I'm not sure if this makes sense or would be feasible since an error stops the cell from running, but wanted to share my initial thoughts as I ran into errors while running by line.

@DavidKutu
Copy link

Cool idea, Thanks

@DavidKutu DavidKutu changed the title Run by line: Handling errors Run by line: Continue on the line we left off after fixing an error, instead of at the top Sep 28, 2021
@roblourens
Copy link
Member

This is essentially #5621, not straightforward

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants