void (SuspendContextImpl suspendContext) { SuspendContextImpl pausedContext = myDebugProcess.getSuspendManager().getPausedContext(); if (pausedContext != null) { myDebugProcess.getManagerThread().schedule(new SuspendContextCommandImpl(pausedContext) { @Override public void contextAction(@NotNull SuspendContextImpl suspendContext) { paused(pausedContext); } }); } }