more debug output when buffer is undersized.