void () { getProcess().dispose(); clearSteppingThrough(); myLastThread.set(null); DebuggerInvocationUtil.swingInvokeLater(getProject(), () -> { myContextManager.setState(SESSION_EMPTY_CONTEXT, State.DISPOSED, Event.DISPOSE, null); myContextManager.dispose(); }); }