Skip to content

Stack traces with async variants #122547

@MichalStrehovsky

Description

@MichalStrehovsky

The stack trace metadata would likely only have information about the thunk, not about the the calling method.

So doing DiagnosticMethodInfo.Create(new StackFrame()) in a runtime async method will likely return no information. We need to swap IsAsyncCall bodies for thunks when emitting stack trace information.

Also figure out what CoreCLR does for new StackFrame(1) (i.e. asking for the thunk).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions