-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dynamically created assemblies will not be instrumented by the .NET Agent in .NET 7 #1295
Comments
Jira CommentId: 116263 Dependencies on .NET 7 patch release by Microsoft. (Target: Jan 2023) |
Jira CommentId: 144280 1/30/2023 The fix was merged a couple of months ago, but it hasn't been included in any releases yet. Microsoft has only pushed out security fixes since then. We are keeping an eye on release notes as they come out. |
Jira CommentId: 153202 Somehow I missed that this was included in the 7.0.1 release in December: [https://github.com/dotnet/runtime/issues?q=milestone%3A7.0.1+is%3Aclosed+label%3Aservicing-approved+] This is ready for verification. |
Jira CommentId: 171860 After quite a bit of testing, I've determined that the agent will not instrument dynamically generated assemblies at all. Tried under .NET 6 and .NET 7 (latest releases), using attribute-based instrumentation and XML instrumentation. In every case, the dynamically generated method was not instrumented. When using attribute-based instrumentation, the profiler acted like it was trying to reJIT the dynamic method but didn't do anything: There's a newer |
Jira CommentId: 171860 After quite a bit of testing, I've determined that the agent will not instrument dynamically generated assemblies at all. Tried under .NET 6 and .NET 7 (latest releases), using attribute-based instrumentation and XML instrumentation. In every case, the dynamically generated method was not instrumented. When using attribute-based instrumentation, the profiler acted like it was trying to reJIT the dynamic method but didn't do anything: There's a newer |
This issue won't be actioned. |
Our agent support for .NET 7 instrumentation may depend on the release of the resolution of
dotnet/runtime#77068
dotnet/runtime#77533
The text was updated successfully, but these errors were encountered: