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
When running an application which uses the wxPython 4.2.2 library, the VS-Code debugger v2025.6.0 is reporting a number of deprecation warnings that tend to fill the console. An example is...
c:\Users\xxxxx.vscode\extensions\ms-python.debugpy-2025.6.0-win32-x64\bundled\libs\debugpy_vendored\pydevd\pydev_ipython\inputhookwx.py:131: wxPyDeprecationWarning: Using deprecated class EventLoop. Use GUIEventLoop instead.
I have edited all references to wx.EventLoop to use wx.GUIEventLoop in inputhookwx.py and that seems to have resolved the issue.
Activity
gramster commentedon Feb 5, 2026
Presumably these come from wxPython, not us
rchiodo commentedon Feb 5, 2026
Graham Wheeler (@gramster) Actually no, we provide the event loop hooks for this sort of thing.
this code here:
debugpy/src/debugpy/_vendored/pydevd/pydev_ipython/inputhookwx.py
Line 4 in 7ac3d1f
nightcityblade commentedon Aug 29, 2026
Hi, I'd like to work on this. I'll submit a PR shortly.