preliminary error analysis and extra debugging conditions