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

Uploaded Source

Built Distribution

pystack_debugger-0.10.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pystack-debugger-0.10.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for pystack-debugger-0.10.0.tar.gz
Algorithm Hash digest
SHA256 5a0c71e6a285f4c65469beada3a2187628907bfa686acc6cfb5df39a4b3d8153
MD5 fa1d7314f77530a786f3955b6e7e88c8
BLAKE2b-256 c438962b57b0f942c220eaaa724c2e4cb5904044cecee223e0f7ef9e3a078edf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pystack_debugger-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 58bf4ea6e022e8c24447a61c51134a1ce5ce899b56c5de1d7e02a4f54d0692e6
MD5 730a17d9dce8a94935145c2538265a4f
BLAKE2b-256 64c9a6e5bec015924f338ef14919e2c13203427caadfd2be10067dd3fa672261

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