add debug code for GtGenerator