-
Notifications
You must be signed in to change notification settings - Fork 300
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
Problems with Notebook debugger (using Jupyter Protocol) #10106
Comments
I can't repro issue 1 in a notebook. I see issue 2 though, didn't know that Jupyter does this |
@roblourens the empty lines were stripped by Github when rendering the sample code I added above... lol, Jupyter does the same, |
This comment was marked as off-topic.
This comment was marked as off-topic.
@ttSpace |
Upstream issue microsoft/debugpy#964 & microsoft/debugpy#869 |
Issues with empty lines will not be resolved for now (as it was reported by me and a papercut), |
Note: These issues have been fixed for IW debugger, we need to fix them for Notebook
Problem 1:
When debugging the above code, the debugger will stop at line
print(1)
, however when you hitstep over
in RBL orcontinue
in the cell debugger it will break there once again.Problem 2:
foo()
foo()
, however when you step into the code, it will stop way above thedef foo
, in a white space (basically on line 2 of the file, in the white space).Problem 3:
The above issues were uncovered while running some of the IW debugger tests.
I think we need a few more tests for the notebook debugger to cover the same scenarios covered in IW debugger.
These issues have been fixed in the new IW when using debugger protocol.
Basically injecting
breakpiont()
along with a few other changes.The text was updated successfully, but these errors were encountered: