void () { mySlave2Info.clear(); myMaster2Info.clear(); Map<String, XBreakpointBase<?,?,?>> id2Breakpoint = new HashMap<>(); XBreakpointBase<?, ?, ?>[] allBreakpoints = myBreakpointManager.getAllBreakpoints(); for (XBreakpointBase<?,?,?> breakpoint : allBreakpoints) { XBreakpointDependencyState state = breakpoint.getDependencyState(); if (state != null) { String id = state.getId(); if (id != null) { id2Breakpoint.put(id, breakpoint); } } } for (XBreakpointBase<?, ?, ?> breakpoint : allBreakpoints) { XBreakpointDependencyState state = breakpoint.getDependencyState(); if (state != null) { String masterId = state.getMasterBreakpointId(); if (masterId != null) { XBreakpointBase<?, ?, ?> master = id2Breakpoint.get(masterId); if (master != null) { addDependency(master, breakpoint, state.isLeaveEnabled()); } } } } }