Millis() not working

Have you tried counting how many times that do/while loop executes as previously suggested ?