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
Built Distribution
Close
Hashes for pystack-debugger-0.8.0.dev0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f588a469806997bed6b5fa515ad42da9ce9347645b87d39912f87dea4bfb886 |
|
MD5 | 35448ca892163ffd083c2eaca39d294a |
|
BLAKE2b-256 | aac772bd5b9e426976bbfe9005f15fb6dfe8efef60bc677aef355949c968eaf0 |
Close
Hashes for pystack_debugger-0.8.0.dev0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfb463c52a7a3eb9766fa10ee92a1a8a0739641bc14983d5e9d136de7d99af95 |
|
MD5 | 5466a5b6f14fa55a1ce3540c718e3699 |
|
BLAKE2b-256 | c55c94bbd0e25f5df131c1610dc34098c0a15aed6204287d35db4398591418d5 |