void resetThread(@NotNull ThreadReferenceProxyImpl threadProxy) {
    if (myThread == threadProxy) {
      return;
    }
    assertInLog(myEvaluationContext == null, () -> "Resetting thread during evaluation is not supported: " + this);
    assertInLog(myActiveExecutionStack == null, () -> "Thread should be retested before the active execution stack initialization: " + this);
    assertCanBeUsed();
    if (myThread != null) {
      myThread.removeListener(myListener);
    }
    myFrameCount = -1;
    setThread(threadProxy);
  }
void resetThread(@NotNull ThreadReferenceProxyImpl threadProxy)