adding the debug output

This commit is contained in:
Kohsuke Kawaguchi committed 2011-11-14 15:52:03 -08:00
1 parent 1348b98673
commit 4934ff3ac6
1 file changed
+8
@@ -82,4 +82,12 @@ public final class WorkUnit {
public boolean isMainWork() {
return context.task==work;
}
@Override
public String toString() {
if (work==context.task)
return super.toString()+"[work="+context.task.getFullDisplayName()+"]";
else
return super.toString()+"[work="+work+",context.task="+context.task.getFullDisplayName()+"]";
}
}