void (boolean active, @NotNull DebuggerManagerThreadImpl managerThread) { if (myIsActive == active) { return; } myIsActive = active; managerThread.schedule(new DebuggerCommandImpl() { @Override protected void action() { if (active) { doActivate(); } else { doPause(); } } }); }