void () { TabInfo selectedInfo = myTabs.getSelectedInfo(); if (!hasOnlyEmptyTab() && selectedInfo != null) { PyFrameAccessor accessor = getPanel(selectedInfo).getFrameAccessor(); if (accessor instanceof PyDebugProcess) { mySelectedInfos.put(((PyDebugProcess)accessor).getProcessHandler(), selectedInfo); } } }