void (@NotNull SuspendContextImpl suspendContext) { DebuggerSession session = debugProcess.getSession(); DebuggerContextImpl debuggerContext = DebuggerContextUtil.createDebuggerContext(session, suspendContext); DebuggerInvocationUtil.invokeLater(debugProcess.getProject(), () -> session.getContextManager().setState(debuggerContext, State.PAUSED, Event.PAUSE, null)); }