Architect 3 – build settings don’t go through?

To elaborate: Today the build.xml file on one of my projects got corrupted. Result: The Project was stuck building in production mode thus I was not able to properly debug it.