Tool to print python thread and greenlet stacks
The pystack is to python as jstack is to java.
It's a debug tool to print python threads or greenlet stacks.
Idea stolen from pyrasite.
$ pip install pystack-debugger
You may need to run it with
$ sudo pystack [--include-greenlet] <pid>
The pystack is compatible with CPython 2.7+ and CPython 3.6+ in both client (the debugger) and server (the destination process).
Using PyPy may work in client (the debugger) but it is untested. Do not attempt to attach a PyPI process as destination since the pystack debugger uses gdb/lldb to invoke the CPython ABI.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size pystack_debugger-0.9.0-py2-none-any.whl (5.2 kB)||File type Wheel||Python version py2||Upload date||Hashes View|
|Filename, size pystack-debugger-0.9.0.tar.gz (3.9 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for pystack_debugger-0.9.0-py2-none-any.whl