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?
pdbinject allows you to inject pdb into an already running python process.
The pdbinject executable only works under python2, but can inject into python3 just fine too.