-
Notifications
You must be signed in to change notification settings - Fork 142
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
Latest IPython (8.1.0) doesn't support stepInto correctly with 1.5.1 #854
Comments
Seems like if there's a breakpoint on the first line, every step into will alternate between that line and the actual line to step into. |
It sounds like #851 was the fix for this? |
I don't think so? At least I cloned debugpy and copied it into my site packages. I'm still getting the problem. |
Maybe that didn't work. It looks like I don't have the latest changes for some reason. |
No even with the latest changes, still repros. |
This happens because in Python 3.10 there is always a line event at line 1 and Python itself is making that line event due to the way it's compiled now. It seems my fix wasn't complete then... This will need another fix in IPython so that besides the new |
Actually, this didn't need a change in |
@fabioz do you know when debugpy might issue a new release? Otherwise debugging is broken in VS code with 1.5.1. |
We'll do a release this week. |
Environment data
Actual behavior
Create a notebook with cell with a number of lines:
Put a breakpoint on the first line
Debug the cell
Step into
Step into gets stuck on the first line.
Run by line (another way we support debugging)
also behaves strangely. It can't step through the function.
Expected behavior
Stepping works
@fabioz I believe this was caused by your recent change to IPython? Do we need a newer version of Debugpy to handle that change?
The text was updated successfully, but these errors were encountered: