Debug Orientation
More careful error treatment