6

Is there a python equivalent of jstack? I've got a hung process and I really want to see what it's up to because I have yet to reproduce the defect in development.

Ted Dziuba
  • 2,495
  • 1
  • 22
  • 16
  • 1
    Similar question: http://stackoverflow.com/questions/132058/getting-stack-trace-from-a-running-python-application – Mark Aug 17 '09 at 17:00
  • Does this answer your question? [Showing the stack trace from a running Python application](https://stackoverflow.com/questions/132058/showing-the-stack-trace-from-a-running-python-application) – rogerdpack Mar 15 '22 at 16:49

1 Answers1

5

Python GDB

mcandre
  • 22,868
  • 20
  • 88
  • 147
  • This is most useful when you compile the python interpreter with debug symbols, but I was still able to use it to track down my problem, thanks. – Ted Dziuba Aug 17 '09 at 18:07