Skip to content

Conversation

@jimmygchen
Copy link
Member

@jimmygchen jimmygchen commented May 8, 2025

Issue Addressed

Add console-subscriber feature for debugging tokio async tasks.

Usage:

  • Build Lighthouse with RUSTFLAGS=--cfg tokio_unstable and --features console-subscriber, e.g.:
RUSTFLAGS=-"-cfg=tokio_unstable --remap-path-prefix=$(pwd)=." FEATURES=console-subscriber make
  • Run the Lighthouse binary.
  • Install tokio-console and run it in a terminal.

@jimmygchen
Copy link
Member Author

@pawanjay176 @michaelsproul using this version for debugging the VC freeze issue.
I've got a version that should work for unstable (it's quite different due to tracing), I can create a separate PR and close this one later.

@jimmygchen
Copy link
Member Author

jimmygchen commented May 27, 2025

Superseded by #7529

@jimmygchen jimmygchen closed this May 27, 2025
mergify bot pushed a commit that referenced this pull request May 30, 2025
Add `console-subscriber` feature for debugging tokio async tasks.

Supersedes #7420 to work with `unstable`.

Usage:
- Build Lighthouse with `RUSTFLAGS=--cfg tokio_unstable` and `--features console-subscriber`, e.g.:
```
RUSTFLAGS=-"-cfg=tokio_unstable --remap-path-prefix=$(pwd)=." FEATURES=console-subscriber make
```
- Run the Lighthouse binary.
- Install `tokio-console` and run it in a terminal.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant