private void processFrameSelection(XDebugSession session, boolean force) {
    mySelectedFrame = myFramesList.getSelectedFrame();
    myExecutionStacksWithSelection.put(mySelectedStack, mySelectedFrame);
    withCurrentBuilder(b -> b.setToSelect(null));

    Object selected = myFramesList.getSelectedValue();
    if (selected instanceof XStackFrame) {
      if (session != null) {
        if (force || (!myRefresh && session.getCurrentStackFrame() != selected)) {
          int mySelectedFrameIndex = myFramesList.getSelectedIndex();
          session.setCurrentStackFrame(mySelectedStack, (XStackFrame)selected, mySelectedFrameIndex == 0);
          if (force) {
            XDebuggerActionsCollector.frameSelected.log(XDebuggerActionsCollector.PLACE_FRAMES_VIEW);
          }
        }
      }
    }
  }
private void processFrameSelection(XDebugSession session, boolean force)