yes, but you cannot get past this bit of code without either modifying the statement or Ending the program.
Exactly. When encountering a break during debugging I regularly comment out or add a line to jump the offending part of the code and press the go button so I can continue with the state preserved.
It saves a hell of a lot of time in debugging. If the error affected the variables then that would not be possible.
It is important to realise that it is the reset not the error that affects the variables. Without knowing that, the possibility of modifying the code while in the break would not be evident.