pystack-debugger


Namepystack-debugger JSON
Version 0.10.0 PyPI version JSON
download
home_pagehttps://github.com/wooparadog/pystack/
SummaryTool to print python thread and greenlet stacks
upload_time2023-01-04 11:41:08
maintainerJiangge Zhang
docs_urlNone
authorHaochuan Guo
requires_python
licenseMIT
keywords pystack pstack jstack gdb lldb greenlet
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![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",
    "maintainer": "Jiangge Zhang",
    "docs_url": null,
    "requires_python": "",
    "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/c4/38/962b57b0f942c220eaaa724c2e4cb5904044cecee223e0f7ef9e3a078edf/pystack-debugger-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",
    "split_keywords": [
        "pystack",
        "pstack",
        "jstack",
        "gdb",
        "lldb",
        "greenlet"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "64c9a6e5bec015924f338ef14919e2c13203427caadfd2be10067dd3fa672261",
                "md5": "730a17d9dce8a94935145c2538265a4f",
                "sha256": "58bf4ea6e022e8c24447a61c51134a1ce5ce899b56c5de1d7e02a4f54d0692e6"
            },
            "downloads": -1,
            "filename": "pystack_debugger-0.10.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "730a17d9dce8a94935145c2538265a4f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 5246,
            "upload_time": "2023-01-04T11:41:06",
            "upload_time_iso_8601": "2023-01-04T11:41:06.532905Z",
            "url": "https://files.pythonhosted.org/packages/64/c9/a6e5bec015924f338ef14919e2c13203427caadfd2be10067dd3fa672261/pystack_debugger-0.10.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c438962b57b0f942c220eaaa724c2e4cb5904044cecee223e0f7ef9e3a078edf",
                "md5": "fa1d7314f77530a786f3955b6e7e88c8",
                "sha256": "5a0c71e6a285f4c65469beada3a2187628907bfa686acc6cfb5df39a4b3d8153"
            },
            "downloads": -1,
            "filename": "pystack-debugger-0.10.0.tar.gz",
            "has_sig": false,
            "md5_digest": "fa1d7314f77530a786f3955b6e7e88c8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4983,
            "upload_time": "2023-01-04T11:41:08",
            "upload_time_iso_8601": "2023-01-04T11:41:08.558670Z",
            "url": "https://files.pythonhosted.org/packages/c4/38/962b57b0f942c220eaaa724c2e4cb5904044cecee223e0f7ef9e3a078edf/pystack-debugger-0.10.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-04 11:41:08",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "wooparadog",
    "github_project": "pystack",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "tox": true,
    "lcname": "pystack-debugger"
}
        
Elapsed time: 0.02529s