to realize that there is going to be a problem before it happens
Oxford100% of films
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition