void (SuspendContextRunnable runnable, SuspendContextRunnable then) { onBreakpoint(new SuspendContextRunnable() { @Override public void run(SuspendContextImpl suspendContext) throws Exception { try { runnable.run(suspendContext); } finally { then.run(suspendContext); } } }); }