private Set<String> collectThreads(RemoteDebugger debugger) {
      Set<String> result = new HashSet<>();
      for (Map.Entry<String, RemoteDebugger> entry : myMultiProcessDebugger.myThreadRegistry.myThreadIdToDebugger.entrySet()) {
        if (entry.getValue() == debugger) {
          result.add(entry.getKey());
        }
      }
      return result;
    }
private Set<String> collectThreads(RemoteDebugger debugger)