-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Make debugger gevent compatible #127
Comments
From @m0ngr31 on June 12, 2017 15:56 +1. I thinking that is part of the problem with the issue I opened up. |
From @underyx on June 12, 2017 16:36 Said issue: https://github.com/DonJayamanne/pythonVSCode/issues/985 |
So at the PyCon sprint, just to add some context, I've learned the following:
I'll try to do this now. |
Here's a quick report on what I've been up to:
gevent freeze tracebackPython 2.7.15 with
|
To-do
A vscode-python test is not needed as it would be flaky anyway. |
* Fix tslint errors brought in by typescript@2.8.3 * Add the `geventCompatible` launch configuration option This makes the experimental Python debugger work with projects using gevent's monkey patching. Closes #127
…1699) * Fix tslint errors brought in by typescript@2.8.3 * Add the `geventCompatible` launch configuration option This makes the experimental Python debugger work with projects using gevent's monkey patching. Closes microsoft#127
From @underyx on June 5, 2017 10:27
Environment data
VS Code version: 1.12.2
Python Extension version: 0.6.4
Python Version: 2.7.13
OS and version: macOS Sierra
Actual behavior
Running apps that use gevent/eventlet/greenlet/green threads/etc. with the debugger active causes the app to just freeze early on. This is the same behavior that I see when I run the same app with the PyCharm debugger with its 'Gevent compatible' switch turned off.
Expected behavior
They should work just like synchronous apps. In PyCharm, there's an option for this called 'Gevent compatible' on the debugger settings page, that sounds like a reasonable thing to have here as well.
Steps to reproduce:
pip install gevent
.from gevent import monkey; monkey.patch_all()
in the app's__init__.py
.Settings
Your launch.json (if dealing with debugger issues):
Logs
Output from
Python
output panel(empty)
Output from
Console window
(Help->Developer Tools menu)(empty)
Edit: oh wow, 1000! 🎊
Copied from original issue: DonJayamanne/pythonVSCode#1000
The text was updated successfully, but these errors were encountered: