Debugging for loop and operators