-
Notifications
You must be signed in to change notification settings - Fork 143
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
WxPython/GTK3 graphical glitches starting with debugpy 1.8.8 #1788
Comments
Is there a reason you need to attach? It works fine for me launching it. In Linux attach uses GDB under the covers, that might be interfering with the thread that does the drawing. |
It also doesn't have any problems on Windows which makes me think it's gdb related as well. |
It happens also if I launch directly from vscode python debug extension, with or without The reason why I listen and connect on port 5678 is that invoking python manually with It works if I downgrade |
Oh yeah you're right, it's not actually an attach. Not sure how 1.8.8 could have broken something so specific. It was us removing checked in binaries (only used in attach) and some minor bug fixes. |
@rchiodo The only thing I can think of regarding the pydevd binaries that we now build (instead of ingesting) from the pydevd repo is the environment in which they are built. The image in the container we use to build the manylinux wheels has very old components, by design, for backcompat. When I was refactoring the build, I got errors when building the manylinux wheels because the pydevd binaries we built outside of this container used dependencies that were much newer than those in the container. So the solution was to move the compilation of the pydevd binaries to the same container used by the wheel generation. This made the build happy. It's certainly possible that this caused unintended side effects when these binaries are used by Debugpy in a Linux environment. Our tests didn't see any failures through, but this might be an edge case? |
That's what I initially thought - it was the new binaries we made. But this isn't an attach scenario, so those binaries aren't used. |
Environment data
Actual behavior
WxWidget GUI isn't drawn properly when debugger is connected. Some widgets are not drawn at all, and damages are not systematically repaired when scaling window. Window top becomes kind of transparent and shows non-updated pixels from background that follow when dragging window.
Expected behavior
When connecting debugger, WxPython draws normally.
Steps to reproduce:
wxPython
anddebugpy
with PIPpython -m "debugpy" --listen localhost:5678 demo.py
With pypi's
debugpy==1.8.7
problem doesn't occur.The text was updated successfully, but these errors were encountered: