Add RuleConfiguredTargetValue#toString for better debugging.
package com.google.devtools.build.lib.skyframe;
import com.google.common.annotations.VisibleForTesting;
+import com.google.common.base.MoreObjects;
import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
@@ -94,4 +95,13 @@ public final class RuleConfiguredTargetValue extends ActionLookupValue
}
transitivePackagesForPackageRootResolution = null;
}
+
+ @Override
+ public String toString() {
+ return MoreObjects.toStringHelper(this)
+ .add("generatingActionIndex", generatingActionIndex)
+ .add("actions", actions)
+ .add("configuredTarget", configuredTarget)
+ .toString();
+ }
}
