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

Updates from debugpy to get debugpy tests to pass #1

Draft
wants to merge 38 commits into
base: main
Choose a base branch
from

Conversation

rchiodo
Copy link
Owner

@rchiodo rchiodo commented Sep 17, 2024

This is a diff between what I want to submit into Debugpy for sys.monitoring support and what PyDev.Debugger currently has.

The tests will fail here but main is failing for PyDev.Debugger anyway.

@rchiodo rchiodo marked this pull request as draft September 17, 2024 21:41
@@ -26,6 +26,7 @@
GUI_QT = "qt"
GUI_QT4 = "qt4"
GUI_QT5 = "qt5"
GUI_QT6 = "qt6"
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All the changes in this directory were changes made in Debugpy before I started this work, so this directory can be ignored.

if not _is_user_frame(frame):
return False

# If this frame is the last frame, then it is the last one

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment is the best. 😄

rchiodo added a commit to microsoft/debugpy that referenced this pull request Sep 23, 2024
This is pulling in @fabioz's latest changes for sys.monitoring and then fixing up any issues found with the debugpy tests.

A lot of the changes were made by Fabio since the latest pull from pydevd, so I also created this PR to compare what changes I made to Fabio's baseline:
rchiodo/PyDev.Debugger#1

Meaning you really only need to look at that other PR to see what changes I made. The rest of the changes here are from Fabio or ruff doing reformating.

After this goes through, we should have sys.monitoring support in debugpy. We can decide later if we want to implement our own support as @int19h started.

Fixes #1496
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants