Skip to main content

Tool to print python thread and greenlet stacks

Project description

[![PyPI](https://img.shields.io/pypi/v/pystack-debugger.svg)](https://pypi-hypernode.com/project/pystack-debugger/)

# 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](https://github.com/lmacken/pyrasite).

## Install

$ pip install pystack-debugger

## Usage

You may need to run it with sudo.

$ sudo pystack [–include-greenlet] <pid>

## Compatibility

[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pystack-debugger.svg)](https://pypi-hypernode.com/project/pystack-debugger/) [![PyPI - Implementation](https://img.shields.io/pypi/implementation/pystack-debugger.svg)](https://pypi-hypernode.com/project/pystack-debugger/)

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


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.8.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

pystack_debugger-0.8.0-py2-none-any.whl (5.6 kB view details)

Uploaded Python 2

File details

Details for the file pystack-debugger-0.8.0.tar.gz.

File metadata

File hashes

Hashes for pystack-debugger-0.8.0.tar.gz
Algorithm Hash digest
SHA256 0ed583c238a473ae6a33c2f9f2bd798c18b8110bcfdc42bee0b15d49489ecb8e
MD5 e34538114e28b45bbd07188364daa554
BLAKE2b-256 138edafedd757b74d852f4b5696b273ce5536dc236155f2f270a3e895348c098

See more details on using hashes here.

File details

Details for the file pystack_debugger-0.8.0-py2-none-any.whl.

File metadata

File hashes

Hashes for pystack_debugger-0.8.0-py2-none-any.whl
Algorithm Hash digest
SHA256 36978b20ce13dcca57131993851b65c88d46ff252a6fb1679173fe9ade259fdf
MD5 68299f04b3ddeab4b7762398cba86ab9
BLAKE2b-256 d34b5a73d118dd084e4cf2a02d57717bd01390e3a7bf5d51ffd89156673ce6fc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page