-
Notifications
You must be signed in to change notification settings - Fork 129
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
Runtime agent attach on Windows is very slow when debugging #1437
Comments
|
hi @Trass3r!
it looks like you're using the applicationinsights-runtime-attach jar, which is signed per Microsoft policy unfortunately, jar file signature verification is very slow when the JIT compiler is not enabled, which may be what's happening when you're running under the debugger |
If things are really slow only when debugger is attached then try deleting all method breakpoints you have, line breakpoints are fine. |
opentelemetry-java-contrib/runtime-attach/runtime-attach-core/src/main/java/io/opentelemetry/contrib/attach/core/AgentFileProvider.java
Line 57 in 4eb0473
This line takes forever in my SpringBootApplication when in debug mode, it's fine when running normally.
GraalVM 17.0.12
https://github.com/microsoft/ApplicationInsights-Java/blob/aee3513604c5b56a23acdceabf97aa0f31064dd2/agent/runtime-attach/src/main/java/com/microsoft/applicationinsights/attach/ApplicationInsights.java#L63
Has anyone else experienced this?
The text was updated successfully, but these errors were encountered: