Skip to content

WxPython/GTK3 graphical glitches starting with debugpy 1.8.8 #1788

Open
@etisserant

Description

@etisserant

Environment data

  • debugpy version: 1.8.8 and greater
  • OS and version: ubuntu 24.04
  • Python version 3.12.3
  • Tested with WxPython version 4.2.1 and 4.2.2

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.

expected actual
Image Image
Image Image

Steps to reproduce:

  • install wxPython and debugpy with PIP
  • download WxPython demo
  • run it with python -m "debugpy" --listen localhost:5678 demo.py
  • attach with vscode
          {
              "name": "Attach",
              "type": "python",
              "request": "attach",
              "connect": {
                  "port": 5678,
              }
          }
    
    
    

With pypi's debugpy==1.8.7 problem doesn't occur.

Metadata

Metadata

Assignees

Labels

needs reproIssue has not been reproduced yet

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions