diff --git a/transformer/src/main/java/com/devexperts/aprof/transformer/AProfTransformer.java b/transformer/src/main/java/com/devexperts/aprof/transformer/AProfTransformer.java index 1acb279..e1e07a4 100644 --- a/transformer/src/main/java/com/devexperts/aprof/transformer/AProfTransformer.java +++ b/transformer/src/main/java/com/devexperts/aprof/transformer/AProfTransformer.java @@ -132,7 +132,7 @@ private byte[] transformImpl(ClassLoader loader, String internalClassName, ClassVisitor classTransformer = new ClassTransformer(cw, classAnalyzer.contexts); int transformFlags = (config.isSkipDebug() ? ClassReader.SKIP_DEBUG : 0) + - (config.isNoFrames() || computeFrames ? ClassReader.SKIP_FRAMES : 0); + (ClassReader.EXPAND_FRAMES); cr.accept(classTransformer, transformFlags); // Convert transformed class to byte array, dump (if needed) and return