-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
When using python-hunter's remote feature, a warning is printed that the process may deadlock. (See here.)
I strongly suspect this can be fixed by setting the gdb flag scheduler-locking off
. IDEs like VSCode reliably inject code into Python processes to support debugging existing processes. VSCode's implementation explicitly mentions the importance of setting scheduler-locking off
to prevent deadlocks
I unfortunately don't have the time to open a PR for python-hunter at the moment, but I do plan to maintain a fork of pyrasite with this and other fixes. I will update here if I find additional bugs that can cause deadlocks.
Metadata
Metadata
Assignees
Labels
No labels