Skip to content

AsyncV1 NAOT stacktrace noise #129155

@rcj1

Description

@rcj1

For the following app compiled with runtime-async off

public class Program
{
    public static async Task Main()
    {
        throw new Exception("exception from Main");
    }
}

The CoreCLR stack trace is as follows:

Unhandled exception. System.Exception: exception from Main
   at Program.<Main>()

And the NAOT stack trace is as follows:

Unhandled exception. System.Exception: exception from Main
   at Program.<Main>d__0.MoveNext()
--- End of stack trace from previous location ---
   at Program.<Main>()

Note especially the extraneous --- End of stack trace from previous location ---

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions