Intercept on Thread #542
Replies: 3 comments 5 replies
-
BTrace needs to exclude any classes it requires to run the core functionality from the instrumentation candidates to prevent possible circularity errors during the invokedynamic bootstrap :( Currently, the filter is a bit overzealous because I didn't have the time to fine-tune the excludes and as such all Can you intercept a |
Beta Was this translation helpful? Give feedback.
-
No luck, Runnable is under |
Beta Was this translation helpful? Give feedback.
-
I want to narrow it down to Kind.CALL, doesn't seem to work
|
Beta Was this translation helpful? Give feedback.
-
Hi,
I've been trying to intercept on Thread on application startup, and got no luck. I know that there are similar samples provided in the project but is there any specific config i should set? Or am i missing anything?
-javaagent:${BTRACE_HOME}/btrace-agent.jar=script=Test.class,noServer=true,scriptOutputFile=stdout.log
My btrace script
My sample application
Beta Was this translation helpful? Give feedback.
All reactions