public void resume() {
    if (!canBeModified()) {
      return;
    }
    DebuggerManagerThreadImpl.assertIsManagerThread();
    if (myModelSuspendCount <= 0) {
      myDebugProcess.logError("Negative global suspend count number!");
    }
    if (myModelSuspendCount > 0) {
      myModelSuspendCount--;
    }
    clearCaches();
    LOG.debug("before resume VM");
    DebuggerUtilsAsync.resume(myVirtualMachine).whenComplete((unused, throwable) -> {
      if (throwable != null && !(DebuggerUtilsAsync.unwrap(throwable) instanceof RejectedExecutionException)) {
        myDebugProcess.logError("Error on resume", throwable);
      }
      LOG.debug("VM resumed");
    });
    //logThreads();
  }
public void resume()