Tool to print python thread and greenlet stacks
Project description
pystack
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.
Install
$ pip install pystack-debugger
Usage
You may need to run it with sudo
.
$ sudo pystack [--include-greenlet] <pid>
Compatibility
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pystack-debugger-0.9.0.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for pystack_debugger-0.9.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f19852d40177fbf9c306f60c6594737fc96a2d5e025ea036818781ea5b0dbe47 |
|
MD5 | 7906648aa06a74d650d91423b9399b1b |
|
BLAKE2b-256 | 212323f71b823206910cd6cd8c354a76a9953d2b6b511e6cadd263e887deb1cb |