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
Whenever a Watch Variable is defined, only the first breakpoint is hit. Subsequent breakpoints are ignored and the code will continue executing without stopping at a subsequent breakpoint. Also stepping-in or stepping-over becomes disabled and the code will just resume execution afterwards.
Expected behavior
The expected behavior is that the debugger is able to control the execution of the program: stepping through lines of code, stepping-in and stopping at subsequent breakpoints. (Even if Watch Variables are defined).
Steps to reproduce:
I'm running a Flask application with Gevent workers and monkey_patch enabled.
The environment variable GEVENT_SUPPORT = True (However annoying warnings are still present)
Please set an environment variable with:
GEVENT_SUPPORT=True
to enable gevent support in the debugger.
The text was updated successfully, but these errors were encountered:
rchiodo
changed the title
Watch variables de-activates debugger (breakpoints and code-stepping fails)
Watch variables de-activates debugger (breakpoints and code-stepping fails) with GEVENT
Nov 21, 2024
Exception ignored in thread started by: <bound method Thread._bootstrap of <WriterThread(pydevd.Writer, started daemon 140290625427136)>> Traceback (most recent call last): File "/usr/lib64/python3.12/threading.py", line 1032, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1079, in _bootstrap_inner self._delete() File "/usr/lib64/python3.12/threading.py", line 1111, in _delete del _active[get_ident()] ~~~~~~~^^^^^^^^^^^^^ KeyError: 140290516462976
Let me know if you need additional information to reproduce the issue.
This issue was closed because it has been stalled for 30 days with no activity. If the issue still persists, please reopen with the information requested. Thanks.
Environment data
Actual behavior
Whenever a Watch Variable is defined, only the first breakpoint is hit. Subsequent breakpoints are ignored and the code will continue executing without stopping at a subsequent breakpoint. Also stepping-in or stepping-over becomes disabled and the code will just resume execution afterwards.
Expected behavior
The expected behavior is that the debugger is able to control the execution of the program: stepping through lines of code, stepping-in and stopping at subsequent breakpoints. (Even if Watch Variables are defined).
Steps to reproduce:
The text was updated successfully, but these errors were encountered: