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

Uploaded Source

Built Distribution

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

Uploaded Python 2

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

Hashes for pystack-debugger-0.8.0.dev0.tar.gz
Algorithm Hash digest
SHA256 7f588a469806997bed6b5fa515ad42da9ce9347645b87d39912f87dea4bfb886
MD5 35448ca892163ffd083c2eaca39d294a
BLAKE2b-256 aac772bd5b9e426976bbfe9005f15fb6dfe8efef60bc677aef355949c968eaf0

See more details on using hashes here.

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

Hashes for pystack_debugger-0.8.0.dev0-py2-none-any.whl
Algorithm Hash digest
SHA256 cfb463c52a7a3eb9766fa10ee92a1a8a0739641bc14983d5e9d136de7d99af95
MD5 5466a5b6f14fa55a1ce3540c718e3699
BLAKE2b-256 c55c94bbd0e25f5df131c1610dc34098c0a15aed6204287d35db4398591418d5

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