void (XDebugSession session, boolean force) { mySelectedFrameIndex = myFramesList.getSelectedIndex(); myExecutionStacksWithSelection.put(mySelectedStack, mySelectedFrameIndex); withCurrentBuilder(b -> b.setToSelect(null)); Object selected = myFramesList.getSelectedValue(); if (selected instanceof XStackFrame) { if (session != null) { if (force || (!myRefresh && session.getCurrentStackFrame() != selected)) { session.setCurrentStackFrame(mySelectedStack, (XStackFrame)selected, mySelectedFrameIndex == 0); if (force) { XDebuggerActionsCollector.frameSelected.log(XDebuggerActionsCollector.PLACE_FRAMES_VIEW); } } } } }