Skip to content

Commit be1c829

Browse files
committed
add more (commented-out) debug statements
Also print generator symbol for completeness.
1 parent e339623 commit be1c829

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

core/src/container.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,9 +295,9 @@ static void printChildrenInterfaces(const ContainerBase& container, bool success
295295

296296
for (const auto& child : container.pimpl()->children()) {
297297
auto cimpl = child->pimpl();
298-
if (!cimpl->starts() && !cimpl->ends())
299-
continue; // skip generator
300298
os << std::setw(width) << std::left << child->name();
299+
if (!cimpl->starts() && !cimpl->ends())
300+
os << "" << std::endl;
301301
if (cimpl->starts())
302302
os << "" << *child->pimpl()->starts() << std::endl;
303303
if (cimpl->starts() && cimpl->ends())
@@ -399,6 +399,7 @@ void SerialContainer::onNewSolution(const SolutionBase& current) {
399399
}
400400
}
401401
}
402+
// printChildrenInterfaces(*this, true, *current.creator());
402403

403404
// finally, store + announce new solutions to external interface
404405
for (const auto& solution : sorted)
@@ -429,6 +430,7 @@ void SerialContainer::onNewFailure(const Stage& child, const InterfaceState* fro
429430
}
430431
break;
431432
}
433+
// printChildrenInterfaces(*this, false, child);
432434
}
433435

434436
SerialContainer::SerialContainer(SerialContainerPrivate* impl) : ContainerBase(impl) {}

core/src/stage.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,9 @@ void ConnectingPrivate::newState(Interface::iterator it, bool updated) {
761761
}
762762
}
763763
}
764+
// std::cerr << name_ << ": ";
765+
// printPendingPairs(std::cerr);
766+
// std::cerr << std::endl;
764767
}
765768

766769
// Check whether there are pending feasible states that could connect to source.

0 commit comments

Comments
 (0)