Are you familiar with your max HR and HR zones?
I absolutely watch my HR going up a long hill - if it gets above about 162 I know I'm going to blow but if I keep it right there, I can go quite a while.
Same for "tempo" riding... 150-155 can last a long time.
Everybody's HR is different of course.