Object (SuspendContextImpl context) { SuspendManager suspendManager = context.getDebugProcess().getSuspendManager(); ThreadReferenceProxyImpl thread = context.getThread(); ResumeData resumeData = new ResumeData(suspendManager.isFrozen(thread), context.myResumedThreads); if (resumeData.myIsFrozen) { suspendManager.unfreezeThread(thread); } LOG.debug("Resuming SuspendContextImpl..."); if (context.myResumedThreads != null) { context.myResumedThreads.forEach(ThreadReferenceProxyImpl::suspend); context.myResumedThreads = null; } return resumeData; }