<dependency> <groupId>io.github.irohjs</groupId> <artifactId>iroh</artifactId> <version>1.1.0</version> </dependency> implementation 'io.github.irohjs:iroh:1.1.0' import io.github.irohjs.Iroh; public class MyApp { public static void main(String[] args) { } } Iroh.addBreakpoint("com.myapp.MyClass", "myMethod"); int x = 10; Iroh.addExceptionListener((ex, stackTrace) -> { }); Iroh.addMethodListener("com.myapp.MyClass", "myMethod", new MethodListener() { @Override public void before(Object target, Object[] args) { } @Override public void after(Object target, Object[] args, Object result) { } });


上一篇:
下一篇:
切换中文