-
Notifications
You must be signed in to change notification settings - Fork 131
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
Debugger don't stop at the selected points when GEVENT_SUPPORT=true #749
Comments
There's a known issue with latest gevent versions: #515 Can you try it with an older version, and see if that helps? |
Yes i can, but... I don't wanna use any old version. There were also many other bugs in previous versions and i don't wanna "fight" with them. So, i'm using VSCode just one months after the several years on PyCharm and such bugs like that really upset me... |
@romi477 which Python version/gevent version are you currently using? i.e.: we do have an open issue related to supporting newer gevent versions (#515), as gevent unfortunately broke the debugger with some of its newer changes (the fix isn't straightforward, but this is something which we're already thinking about addressing), so, if you are using a newer version of gevent, this would be a duplicate of #515, but if you're using a supported version, this would be something else... |
My framework uses python library gevent==1.1.2 |
Thanks for the report, gevent 1.1.2 is 2016. The version that is working without issues is 20.9.0. Are you able to upgrade to that? We are seeing issues with older versions. |
I'll consider it, but... my framework has its requrements and it's gevent==1.1.2 In addition PyCharm (by JetBrains) has no any troubles with this gevent version. I'm just saying that it's VsCode fault (as far as i understand). |
I can't really reproduce this. In a simple example with something as:
Adding breakpoints in |
I'm closing this since there wasn't additional feedback (besides, there aren't any other reports from gevent users and I couldn't reproduce this). |
Environment data
Version: 1.61.0
Commit: ee8c7def80afc00dd6e593ef12f37756d8f504ea
Extension version Python: v2021.10.1317843341
Extension version Pylance: v2021.10.0
Date: 2021-10-07T18:11:02.929Z
Electron: 13.5.1
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Linux x64 5.4.0-87-generic
Actual behavior
Debugger don't stop on the points when GEVENT_SUPPORT=true
My web framework (Odoo) based on Werkzeug wsgi server runs with "workers". It requires GEVENT_SUPPORT=true option
that vscode hints me. But in this "GEVENT" mode my debugger don't stop at the selected points.
In GEVENT_SUPPORT=false and workers_count=1 everything is OK, debugger stops without any problem.
The text was updated successfully, but these errors were encountered: