Skip to content

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

@fschmied

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-AssemblyLoader-coreclrin-prThere is an active PR which will close this issue when it is merged

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions