boolean (Requestor requestor, XBreakpoint xBreakpoint, DebugProcessImpl debugProcess, boolean forPreparedClass) { return ReadAction.compute(() -> { JavaDebugProcess process = debugProcess.getXdebugProcess(); return process != null && debugProcess.isAttached() && (xBreakpoint == null || ((XDebugSessionImpl)process.getSession()).isBreakpointActive(xBreakpoint)) && (forPreparedClass || debugProcess.getRequestsManager().findRequests(requestor).isEmpty()); }); }