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

[Endgame testing] Debugging doesn't feel "native" #6443

Closed
Tracked by #1652
lramos15 opened this issue Jun 30, 2021 · 2 comments
Closed
Tracked by #1652

[Endgame testing] Debugging doesn't feel "native" #6443

lramos15 opened this issue Jun 30, 2021 · 2 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug notebook-debugging

Comments

@lramos15
Copy link
Member

Testing microsoft/vscode#127362

When debugging a jupyter notebook it feels very different than debugging within VS Code. Debugging normally starts execution of the program and breakpoints are always present. This means that if you click debug it hits your first breakpoint, if you have no breakpoints it would just run all the cells. I also get confused about how to stop debugging because normally there is the red square which allows you to stop program execution but here the debug toolbar only offers a disconnect. I'm wondering how much this is limited by the way jupyter works as I find it strange and very confusing. It's especially weird when you're done debugging and everything is still connected. I didn't expect clicking run all to cause me to start debugging again.

@rchiodo rchiodo removed their assignment Jun 30, 2021
@DavidKutu DavidKutu self-assigned this Jun 30, 2021
@DavidKutu DavidKutu changed the title Debugging doesn't feel "native" [Endgame testing] Debugging doesn't feel "native" Jun 30, 2021
@DavidKutu
Copy link

DavidKutu commented Jun 30, 2021

This definitely makes more sense when running by line.

@roblourens also had an idea for full debugging. We always have a session running in the background, and the only thing a user needs to do to debug is place a breakpoint and run the cell. That'll probably feel more natural.

@greazer greazer added the bug Issue identified by VS Code Team member as probable bug label Jul 8, 2021
@roblourens
Copy link
Member

Improved this, we now show the breakpoint margin all the time and have a "debug cell" command that operates on a single cell. It's an ongoing discussion though.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug notebook-debugging
Projects
None yet
Development

No branches or pull requests

5 participants