-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Open
Labels
area-NativeAOT-coreclrdisabled-testThe test is disabled in source code against the issueThe test is disabled in source code against the issueruntime-async
Milestone
Description
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).
From @davidwr This is also an issue for the coreclr interpreter, as it needs a helper function, which is defined in C#, and there is no way to disable that either.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-NativeAOT-coreclrdisabled-testThe test is disabled in source code against the issueThe test is disabled in source code against the issueruntime-async
Type
Projects
Status
No status