private void assertNotResumed() {
    if (myIsResumed) {
      if (myDebugProcess.isAttached()) {
        logError("Cannot access " + this + " because it is resumed.");
      }
    }
  }
private void assertNotResumed()