extra logging during instrumentation

This commit is contained in:
Sander Hautvast 2018-03-29 14:47:27 +02:00
parent e50989fb37
commit a6b383aac2

View file

@ -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) {