tags:

views:

129

answers:

1

Is there a way to get a thread dump from a running Python process? Similar to kill -3 on a Java process.

+1  A: 

I havent seen anything built-in, but I have seen a solution here which can be exposed via http console. The solution iterates over all threads and outputs the stack.

akf
So the answer is that Python doesn't have this mechanism built in, right?
oneself