Skip to content

For a running task, show the thread id it's currently executing on #630

Open
@alex

Description

@alex

What problem are you trying to solve?

An extremely annoying problem to debug is "my tokio task is blocking the executor for a long time doing something". In such cases, the tasks tend to be obvious in tokio-console, but tokio-console can't tell you what the task is doing.

In those cases, it'd be nice to have the OS thread ID so that you can then go use lldb to get a stack trace for that thread.

How should the problem be solved?

Somewhere on the tokio-console page, show the thread id for currently running tasks

Any alternatives you've considered?

tokio-console could show the stack trace itself, but that's a lot more complicated

How would users interact with this feature?

No response

Would you like to work on this feature?

no

Metadata

Metadata

Assignees

No one assigned

    Labels

    S-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