您可以在断点中添加条件。最简单的一个可能是这样的:
System.err.println("Passing checkpoint");return false;您还可以通过调用自己的静态类来扩展它:
org.foo.StaticCounter.COUNTER++;System.err.println("Passing checkpoint " + org.foo.StaticCounter.COUNTER);return false;
您可以在断点中添加条件。最简单的一个可能是这样的:
System.err.println("Passing checkpoint");return false;您还可以通过调用自己的静态类来扩展它:
org.foo.StaticCounter.COUNTER++;System.err.println("Passing checkpoint " + org.foo.StaticCounter.COUNTER);return false;