diff --git a/memorycompiler/src/main/java/com/taobao/arthas/compiler/DynamicCompiler.java b/memorycompiler/src/main/java/com/taobao/arthas/compiler/DynamicCompiler.java index 586100695..0c5c36c45 100644 --- a/memorycompiler/src/main/java/com/taobao/arthas/compiler/DynamicCompiler.java +++ b/memorycompiler/src/main/java/com/taobao/arthas/compiler/DynamicCompiler.java @@ -33,6 +33,7 @@ public class DynamicCompiler { standardFileManager = javaCompiler.getStandardFileManager(null, null, null); options.add("-Xlint:unchecked"); + options.add("-g"); dynamicClassLoader = new DynamicClassLoader(classLoader); }