-static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/evtbuild.c,v 6.112 2010-06-17 15:44:42 hadaq Exp $";
+static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/evtbuild.c,v 6.113 2010-06-17 15:54:05 hadaq Exp $";
 
 #define _POSIX_C_SOURCE 199309L
 #define SYSLOG_NAMES
                printf("\n");
        }
 
+       /* Print sizes for the last properly built line */
+       if (theArgs->debug_size) {
+               printf("%7s", "size");
+               for (i = 0; i < theArgs->nrOfMsgs; i++) {
+                       if (j < theDebug->debugSizesCnt[i]) {
+                               printf(" %08x", *theStats->debugSize[i]);
+                       }
+               }
+               printf("\n");
+       }
+
        evtBrokenFlag = 0;
 
        /* Set counters of broken subevts to zero */