void (boolean newState) { if (myIsBackgroundTrackingEnabled != newState) { myIsBackgroundTrackingEnabled = newState; debugProcess.getManagerThread().schedule(new DebuggerCommandImpl() { @Override protected void action() { if (newState) { myBreakpoint.enable(); } else { myBreakpoint.disable(); } } }); } }