-
Notifications
You must be signed in to change notification settings - Fork 131
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
Investigate tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_01 in Python 3.10.5 #973
Comments
I did an investigation here and the bytecode seems to be correct. What is happening is that on one run it seems like CPython doesn't report a line event while using the same bytecode (after inserting a programmatic breakpoint) it does. I haven't really dug into CPython itself to know why it started with this behavior in CPython 3.10.5, but from what I've investigated, everything seems correct (the strange thing is that on the initial case before the programmatic breakpoint that line event isn't reported). i.e.: Given some code as:
it has some bytecode as:
Now, when on line 61, in the bytecode: Given that, I'll just use this issue to fix the test where this happens. |
There's a failing test in the pydevd test suite related to bytecode which is failing only in Python 3.10.5.
This should be investigated (it could be a real error).
The text was updated successfully, but these errors were encountered: