Skip to content

Add debug logging output to Sender #11582

@larsbergstrom

Description

@larsbergstrom

It would be great if we could get logging output from channels so that send would do something like:

sending message MSG from task TASK

And any call to recv would do

received message MSG in task TASK

In Servo, we frequently need to debug race conditions and deadlocks or just explain what happens when e.g. we get a mouse click in the window. Having this debugging info would greatly help (and let us build visualization tools on top of the output).

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions