Skip to content

Report when a task doesn't / hasn't yielded in a while. #203

@tobz

Description

@tobz

While using tokio-console for debugging some weird behavior -- by the way, tokio-console has been great so far! -- I ended up discovering that my original issue was related to a task that never yielded. While tokio-console helped me figure this out by displaying that a companion task hadn't yet been woken up (because of the other task not yielding), it would have saved me a step or two if instead I was able to see that the non-yielding task hadn't yielded in a while/at all.

Not sure if this is simple to surface or not, but figured I'd file an issue for it regardless. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-warningsArea: warningsE-easyEffort: easy. Good for newcomersS-featureSeverity: feature. This is adding a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions