Skip to content

Add handler type name to the tracing events for diagnosing assembly loading extension points #57408

Open

Description

@fschmied

When using dotnet-trace to diagnose assembly loading issues, there are two events showing assembly loading extension points, AssemblyLoadContextResolvingHandlerInvoked and AppDomainAssemblyResolveHandlerInvoked. These events have a HandlerName item, which contains (only) the method name of the handler method. (Docs here.)

For diagnosing why assembly loading behaves in a certain way in conjunction with frameworks, test runners, etc., it would be tremendously helpful if the HandlerName item could also include the full name of the type declaring the handler method. (Ideally, the assembly-qualified type name.)

Could that possibly be added?

Activity

  1. ghost added
    area-AssemblyLoader-coreclr
    on Aug 14, 2021
  2. ghost added
    untriaged
    on Aug 14, 2021
  3. changed the title [-]Add type name to the tracing events for diagnosing assembly loading extension points[/-] [+]Add handler type name to the tracing events for diagnosing assembly loading extension points[/+] on Aug 14, 2021
  4. added this to the 7.0.0 milestone on Aug 16, 2021
  5. removed
    untriaged
    on Aug 16, 2021
  6. modified the milestones: 7.0.0, 8.0.0 on Jul 26, 2022
  7. modified the milestones: 8.0.0, Future on Jun 26, 2023
  8. added a commit that references this issue on Mar 20, 2026
    d76ccdd
  9. added
    in-pr
    on Mar 21, 2026
  10. dotnet-policy-service commented on Apr 15, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @agocke, @elinor-fung
    See info in area-owners.md if you want to be subscribed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-AssemblyLoaderin-pr

    Type

    No type

    Projects

    • Status
      No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions