[issue41571] Implement thread-related commands in pdb

Pablo Galindo Salgado report at bugs.python.org
Mon Aug 17 23:28:08 EDT 2020


Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:

Another possibility would be accept the reality of the switching delay (so all the other commands work without extra changes) and working to minimize it by setting sys.setswitchinterval() to something ridiculously low and then switching it back to the previous value once we are in the thread that we want. If this is not enough we could sed modify the Gil-adquire code to do something similar to what the Python 2 implementation did when signals arrive that is basically switch constantly between threads until the one that we want runs.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41571>
_______________________________________


More information about the Python-bugs-list mailing list