void () { try { thread.stop((ObjectReference)value); } catch (Exception e) { showError(debugProcess.getProject(), JavaDebuggerBundle.message("error.throw.exception", e.getLocalizedMessage())); return; } SwingUtilities.invokeLater(() -> { if (dialog != null) { dialog.close(DialogWrapper.OK_EXIT_CODE); } debugProcess.getSession().stepInto(true, null); }); }