Skip to content

debuginfo: identify awaitee (via special name or other solution) #95521

Open
@pnkfelix

Description

@pnkfelix

Spawned off of #73524 (comment)

For debugging async crash dumps (and async stack traces in general, I think), the debugger needs to identify the awaitee field in some manner.

There have been various suggestions here, such as changing the await desugaring to move the awaitee to a temporary with a special name like $awaitee that one cannot write in normal rust code. But there may be "gotchas" here; @tmandry noted that "for combinators and such you'll have to do something special".

Metadata

Metadata

Assignees

Labels

A-async-awaitArea: Async & AwaitAsyncAwait-TriagedAsync-await issues that have been triaged during a working group meeting.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions