void (@NotNull XSourcePosition position, boolean notTopFrame, @Nullable GutterIconRenderer gutterIconRenderer, boolean navigate) { updateRequested.set(false); AppUIExecutor .onWriteThread(ModalityState.nonModal()) .expireWith(myProject) .submit(() -> { updateRequested.set(false); mySourcePosition = position; clearDescriptor(); myOpenFileDescriptor = createOpenFileDescriptor(myProject, position); myOpenFileDescriptor.setUsePreviewTab(true); if (!XDebuggerSettingManagerImpl.getInstanceImpl().getGeneralSettings().isScrollToCenter()) { myOpenFileDescriptor.setScrollType(notTopFrame ? ScrollType.CENTER : ScrollType.MAKE_VISIBLE); } //see IDEA-125645 and IDEA-63459 //myOpenFileDescriptor.setUseCurrentWindow(true); myGutterIconRenderer = gutterIconRenderer; myNotTopFrame = notTopFrame; }).thenAsync(ignored -> AppUIExecutor .onUiThread() .expireWith(myProject) .submit(() -> doShow(navigate))); }