Skip to content

Report stacks for suspended asyncio tasks #58

@godlygeek

Description

@godlygeek

Add a new command line switch to ask pystack to try to find suspended asyncio tasks and print their stacks. It would do this by finding and walking the CPython implementation's linked list of Python objects to find all asyncio tasks, identify the coroutine wrapped by each one, and finding the most recent stack frame of that coroutine.

This is probably quite a tricky change, but would be a very cool feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions