You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
investigate integration with pydevd that has the sys.monitoring changes #1640
Did some preliminary work on this. I'm not sure pydevd is finished with sys.monitoring support. We get about 50 test failures with py312 (py311 and others work fine) after the port.
First reason for failure, stack frames on attach are deeper than launch. Not sure why (I don't think sys module would know about filtering out just my code?).
Deeper stack frame means the frame matching for the unhandled exception walk doesn't work.
Activity
rchiodo commentedon Aug 31, 2024
Did some preliminary work on this. I'm not sure pydevd is finished with sys.monitoring support. We get about 50 test failures with py312 (py311 and others work fine) after the port.
rchiodo commentedon Sep 3, 2024
Root cause of failures seems to be 3.12 pydevd doesn't handle unhandled exceptions.
In 3.11 for one of the tests that fails, this output shows up in the log:
Same test in 3.12, no such post-mortem stop
rchiodo commentedon Sep 3, 2024
Question then becomes do we integrate newer pydevd or just finish the sys.monitoring work for 3.12 in debugpy.
rchiodo commentedon Sep 3, 2024
This test and many others is failing currently in our implementation of sys.monitoring, so pydevd is likely further along.
rchiodo commentedon Sep 4, 2024
Consensus was to scrap this work (archived at https://github.com/rchiodo/debugpy/tree/rchiodo/update_pydevd) and just finish the debugpy work on 3.12
rchiodo commentedon Sep 5, 2024
Changed our minds again. Going to integrate latest pydevd.
rchiodo commentedon Sep 5, 2024
First reason for failure, stack frames on attach are deeper than launch. Not sure why (I don't think sys module would know about filtering out just my code?).
Deeper stack frame means the frame matching for the unhandled exception walk doesn't work.
rchiodo commentedon Sep 26, 2024
Finished this work