Skip to main content

Tool to print python thread and greenlet stacks

Project description

PyPI

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

PyPI - Python Version PyPI - Implementation

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_custom-0.10.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pystack_debugger_custom-0.10.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file pystack_debugger_custom-0.10.0.tar.gz.

File metadata

File hashes

Hashes for pystack_debugger_custom-0.10.0.tar.gz
Algorithm Hash digest
SHA256 dee71dc8159f8330f2c8fe3a60c0eb6cd4d08c5b6bb657214841fb697483afe8
MD5 d9364837c658096714f45fae1fd3b3ce
BLAKE2b-256 7d06598fd8b52b0a93e5a14d74c8300efd94926de22a87d8a2173286127ace98

See more details on using hashes here.

File details

Details for the file pystack_debugger_custom-0.10.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pystack_debugger_custom-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 114a9b355ad5e9de3a014ec82347653cdaa7f88c1a048ed91baed3c5619f37a6
MD5 4fe3ebebd44c265c805e49dc913dbf84
BLAKE2b-256 c27fd0ca878e8d9a767b14a52b6ffa874394ced0e09d846edfe317356faa36af

See more details on using hashes here.

Supported by

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