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
File details
Details for the file pystack-debugger-0.8.0.dev0.tar.gz
.
File metadata
- Download URL: pystack-debugger-0.8.0.dev0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f588a469806997bed6b5fa515ad42da9ce9347645b87d39912f87dea4bfb886 |
|
MD5 | 35448ca892163ffd083c2eaca39d294a |
|
BLAKE2b-256 | aac772bd5b9e426976bbfe9005f15fb6dfe8efef60bc677aef355949c968eaf0 |
File details
Details for the file pystack_debugger-0.8.0.dev0-py2-none-any.whl
.
File metadata
- Download URL: pystack_debugger-0.8.0.dev0-py2-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfb463c52a7a3eb9766fa10ee92a1a8a0739641bc14983d5e9d136de7d99af95 |
|
MD5 | 5466a5b6f14fa55a1ce3540c718e3699 |
|
BLAKE2b-256 | c55c94bbd0e25f5df131c1610dc34098c0a15aed6204287d35db4398591418d5 |