SuspendContextImpl () { if (myCustomSuspendContext == null) { myCustomSuspendContext = super.getSuspendContext(); ThreadReferenceProxyImpl thread = getThread(); if (myCustomThread != null && (myCustomSuspendContext == null || myCustomSuspendContext.isResumed() || !myCustomSuspendContext.suspends(thread))) { myCustomSuspendContext = SuspendManagerUtil.findContextByThread(myDebuggerContext.getDebugProcess().getSuspendManager(), thread); } } return myCustomSuspendContext; }