Add some debug code

This commit is contained in:
Eelco Dolstra 2018-03-07 10:23:43 +01:00
parent 5a1f2a50e5
commit c0fac52872
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -246,7 +246,11 @@ system_time State::doDispatch()
auto & step(stepInfo.step);
/* Can this machine do this step? */
if (!mi.machine->supportsStep(step)) continue;
if (!mi.machine->supportsStep(step)) {
debug("machine '%s' does not support step '%s' (system type '%s')",
mi.machine->sshName, step->drvPath, step->drv.platform);
continue;
}
/* Let's do this step. Remove it from the runnable
list. FIXME: O(n). */