Fixed an array bound check in Main::on_debugStep_triggered()