Builder crash and not responding

OS (e.g. Win10): Both Win11 and MacOS Senoma
PsychoPy version (e.g. 1.84.x): v2024.2.4
Standard Standalone? (y/n) If not then what?:y

I’m very new to Psychopy. I’m just wondering, if this is an actual issue that hasn’t been fixed, or is it because I didn’t set something correctly. But whenever there is an error in the code (almost any Python exception, for example “UnboundLocalError: local variable referenced before assignment”) the experiment would crash and the software would stop responding. Then I have to force quit Psychopy in task manager and restart it. Is this normal? Thank you!