Shifter cables usually break in the shifters where the stress and
turning radius is small.
Inspect them frequently, especially if the shifting has changed suddenly, and change then out at the first sign of fraying. Getting the broken-off cable head out of a brifter is exquisite torture.