Debugging orientation assignment