void (@Nullable RunContentDescriptor descriptor, @NotNull Executor executor) { if (executor == DefaultDebugExecutor.getDebugExecutorInstance()) { DebuggerSession session = descriptor == null ? null : getSession(descriptor); DebuggerStateManager manager = getInstanceEx(myProject).getContextManager(); if (session != null) { manager.setState(session.getContextManager().getContext(), session.getState(), DebuggerSession.Event.CONTEXT, null); } else { manager.setState(DebuggerContextImpl.EMPTY_CONTEXT, DebuggerSession.State.DISPOSED, DebuggerSession.Event.CONTEXT, null); } } }