Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugger support for Rust async/await #73522

Open
tmandry opened this issue Jun 20, 2020 · 2 comments
Open

Debugger support for Rust async/await #73522

tmandry opened this issue Jun 20, 2020 · 2 comments
Labels
A-async-await Area: Async & Await AsyncAwait-Triaged Async-await issues that have been triaged during a working group meeting.

Comments

@tmandry
Copy link
Member

tmandry commented Jun 20, 2020

It would be very nice if a debugger could show things like

  • The set of active async tasks, similar to the list of threads in a program
  • External backtraces for async tasks #73524 A "backtrace" of a given async task
  • The state of any OS objects (files, sockets, etc) a task is blocking on
  • The origin of an async task (where it was spawned), with possible backtrace captured at that point

This is a "meta issue" to track features and ideas like this.

Prior art

@tmandry tmandry added C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC A-async-await Area: Async & Await and removed C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC labels Jun 20, 2020
@nikomatsakis nikomatsakis added the AsyncAwait-Triaged Async-await issues that have been triaged during a working group meeting. label Jun 30, 2020
@nikomatsakis
Copy link
Contributor

Tagging as triaged for now.

@memoryruins
Copy link
Contributor

For an update to prior art, tokio-console implements some of these ideas and others. There was an announcement post last year, and its readme mentions sharing a bit in the vision of pnkfelix's series of blog posts. For user interfaces, a CLI/TUI is provided by tokio-console, but its API can also be built on by others, such as a Grafana data source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-async-await Area: Async & Await AsyncAwait-Triaged Async-await issues that have been triaged during a working group meeting.
Projects
None yet
Development

No branches or pull requests

3 participants