extra logging during instrumentation
This commit is contained in:
parent
e50989fb37
commit
a6b383aac2
1 changed files with 1 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ public class Agent {
|
||||||
|
|
||||||
inst.addTransformer((classLoader, resource, aClass, protectionDomain, uninstrumentedByteCode) -> {
|
inst.addTransformer((classLoader, resource, aClass, protectionDomain, uninstrumentedByteCode) -> {
|
||||||
if (!shouldExclude(resource, excludes).get()) {
|
if (!shouldExclude(resource, excludes).get()) {
|
||||||
|
System.out.println("instrumenting "+resource);
|
||||||
try {
|
try {
|
||||||
return instrumentMethod(resource);
|
return instrumentMethod(resource);
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue