[![PyPI](https://img.shields.io/pypi/v/pystack-debugger.svg)](https://pypi.org/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.org/project/pystack-debugger/)
[![PyPI - Implementation](https://img.shields.io/pypi/implementation/pystack-debugger.svg)](https://pypi.org/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.
Raw data
{
"_id": null,
"home_page": "https://github.com/wooparadog/pystack/",
"name": "pystack-debugger-custom",
"maintainer": "Jiangge Zhang",
"docs_url": null,
"requires_python": null,
"maintainer_email": "tonyseek@gmail.com",
"keywords": "pystack, pstack, jstack, gdb, lldb, greenlet",
"author": "Haochuan Guo",
"author_email": "guohaochuan@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/7d/06/598fd8b52b0a93e5a14d74c8300efd94926de22a87d8a2173286127ace98/pystack_debugger_custom-0.10.0.tar.gz",
"platform": "linux",
"description": "[![PyPI](https://img.shields.io/pypi/v/pystack-debugger.svg)](https://pypi.org/project/pystack-debugger/)\n\n# pystack\n\nThe pystack is to python as jstack is to java.\n\nIt's a debug tool to print python threads or greenlet stacks.\n\nIdea stolen from [pyrasite](https://github.com/lmacken/pyrasite).\n\n## Install\n\n $ pip install pystack-debugger\n\n## Usage\n\nYou may need to run it with `sudo`.\n\n $ sudo pystack [--include-greenlet] <pid>\n\n## Compatibility\n\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pystack-debugger.svg)](https://pypi.org/project/pystack-debugger/)\n[![PyPI - Implementation](https://img.shields.io/pypi/implementation/pystack-debugger.svg)](https://pypi.org/project/pystack-debugger/)\n\nThe pystack is compatible with CPython 2.7+ and CPython 3.6+ in both client\n(the debugger) and server (the destination process).\n\nUsing PyPy may work in client (the debugger) but it is untested. Do not attempt\nto attach a PyPI process as destination since the pystack debugger uses gdb/lldb\nto invoke the CPython ABI.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Tool to print python thread and greenlet stacks",
"version": "0.10.0",
"project_urls": {
"Homepage": "https://github.com/wooparadog/pystack/"
},
"split_keywords": [
"pystack",
" pstack",
" jstack",
" gdb",
" lldb",
" greenlet"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c27fd0ca878e8d9a767b14a52b6ffa874394ced0e09d846edfe317356faa36af",
"md5": "4fe3ebebd44c265c805e49dc913dbf84",
"sha256": "114a9b355ad5e9de3a014ec82347653cdaa7f88c1a048ed91baed3c5619f37a6"
},
"downloads": -1,
"filename": "pystack_debugger_custom-0.10.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4fe3ebebd44c265c805e49dc913dbf84",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 5334,
"upload_time": "2024-07-10T08:22:48",
"upload_time_iso_8601": "2024-07-10T08:22:48.617531Z",
"url": "https://files.pythonhosted.org/packages/c2/7f/d0ca878e8d9a767b14a52b6ffa874394ced0e09d846edfe317356faa36af/pystack_debugger_custom-0.10.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7d06598fd8b52b0a93e5a14d74c8300efd94926de22a87d8a2173286127ace98",
"md5": "d9364837c658096714f45fae1fd3b3ce",
"sha256": "dee71dc8159f8330f2c8fe3a60c0eb6cd4d08c5b6bb657214841fb697483afe8"
},
"downloads": -1,
"filename": "pystack_debugger_custom-0.10.0.tar.gz",
"has_sig": false,
"md5_digest": "d9364837c658096714f45fae1fd3b3ce",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5045,
"upload_time": "2024-07-10T08:22:50",
"upload_time_iso_8601": "2024-07-10T08:22:50.174671Z",
"url": "https://files.pythonhosted.org/packages/7d/06/598fd8b52b0a93e5a14d74c8300efd94926de22a87d8a2173286127ace98/pystack_debugger_custom-0.10.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-10 08:22:50",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "wooparadog",
"github_project": "pystack",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"tox": true,
"lcname": "pystack-debugger-custom"
}