I\'m trying to debug a deadlock in a multi-threaded Python application after it has locked up. Is there a way to attach a debugger to inspect the state of the process?
PyCharm IDE allows attaching to a running Python process since version 4.0.
Here is described how to do that.