summaryrefslogtreecommitdiff
path: root/buildstream/_pipeline.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/_pipeline.py')
-rw-r--r--buildstream/_pipeline.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/buildstream/_pipeline.py b/buildstream/_pipeline.py
index 5dec9001d..524eb5c97 100644
--- a/buildstream/_pipeline.py
+++ b/buildstream/_pipeline.py
@@ -31,7 +31,9 @@ from ._message import Message, MessageType
from ._profile import Topics, profile_start, profile_end
from . import Scope, Consistency
from ._project import ProjectRefStorage
-
+import sys
+def debug(*args):
+ print("➤➤➤", *args, file=sys.stderr)
# PipelineSelection()
#
@@ -134,6 +136,7 @@ class Pipeline():
def resolve_elements(self, targets):
with self._context.timed_activity("Resolving cached state", silent_nested=True):
for element in self.dependencies(targets, Scope.ALL):
+ debug("Element: ", str(element))
# Preflight
element._preflight()
@@ -220,6 +223,7 @@ class Pipeline():
elements = list(self.dependencies(targets, scope))
+ debug("GET_SELECTION", mode, [str(e) for e in elements])
return elements
# except_elements():