how to debug an internal error?
问题 So I have a class Foo that should eventually adjust and reload classes. It has a method for that, too: private void redefineClass(String classname, byte[] bytecode) { ClassFileLocator cfl = ClassFileLocator.Simple.of(classname,bytecode); Class clazz; try{ clazz = Class.forName(classname); }catch(ClassNotFoundException e){ throw new RuntimeException(e); } Debug._print("REDEFINING %s",clazz.getName()); new ByteBuddy() .redefine(clazz,cfl) .make() .load(clazz.getClassLoader(),