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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pystack_debugger_custom-0.10.0.tar.gz.
File metadata
- Download URL: pystack_debugger_custom-0.10.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dee71dc8159f8330f2c8fe3a60c0eb6cd4d08c5b6bb657214841fb697483afe8
|
|
| MD5 |
d9364837c658096714f45fae1fd3b3ce
|
|
| BLAKE2b-256 |
7d06598fd8b52b0a93e5a14d74c8300efd94926de22a87d8a2173286127ace98
|
File details
Details for the file pystack_debugger_custom-0.10.0-py3-none-any.whl.
File metadata
- Download URL: pystack_debugger_custom-0.10.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
114a9b355ad5e9de3a014ec82347653cdaa7f88c1a048ed91baed3c5619f37a6
|
|
| MD5 |
4fe3ebebd44c265c805e49dc913dbf84
|
|
| BLAKE2b-256 |
c27fd0ca878e8d9a767b14a52b6ffa874394ced0e09d846edfe317356faa36af
|