void (InvokeRatherLaterRequest request) { if (request.invokesN == RATHER_LATER_INVOKES_N) { request.myDebugProcess.getManagerThread().schedule(request.myDebuggerCommand); } else { if (!SwingUtilities.isEventDispatchThread()) { UIUtil.invokeAndWaitIfNeeded(() -> pumpSwingThread()); } else { SwingUtilities.invokeLater(() -> pumpSwingThread()); } } }