This method is an exact copy-paste of ``PrettyStepPrinter::printStep`` minus the last line. Wouldn't it be possible to avoid the duplication ?