Skip to content

AsyncV1 NAOT stacktrace noise #129155

Open
Open

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 ---

Activity

  1. self-assigned this
    on Jun 9, 2026
  2. added this to the 11.0.0 milestone on Jul 14, 2026
  3. modified the milestones: 11.0.0, 12.0.0 on Aug 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions