Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

WxPython/GTK3 graphical glitches starting with debugpy 1.8.8

Open
#1,788 9 comments 1 reaction 1 assignee View on GitHub

@AdamYoblick is already working on this.

Since Dec 19, 2024.

Assessment

This issue has not been assessed yet.

Description

bug needs repro

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.

Dominant language
Python
Stars
2.5k
Forks
202
Avg merge
5d 1h
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/debugpy

All issues in microsoft/debugpy

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.