"Break On" means the user stopped the program there. It's not an error so much as "we were here when we stopped"
since most everything else is almost instantaneous from our perspective, it'll often list a timing line (e.g. VSYNC) as being the break line simply because you're on it for more time than the others.
Break on...
What does it mean when the program says: Break on line 35.with line 35 being Vsync 1?
I normally put it at the end, but as long as it's sandwiched between display commands and display clearing, it should be fine.
I put VSYNC immediately before checking the inputs, so that I have the input information available to me as soon as possible (yes even though it's only microseconds difference). I make the outputs (redraw, sound, etc.) immediately after the inputs, because there's no point wasting time after getting the input information before acting on that information. That puts the loop after the outputs are drawn and before the VSYNC.