Difference between running from builder and coder view

Win10
PsychoPy version1.84.x

I notice something strange when I run some psychopy code. I have inserted some python code in the builder view in my experiment.

When I run the experiment by hitting the Run button, it seems to hang (becomes unresponsive) after some time and I have to quit the program by pressing the ESC button and killing the process.

However, when I compile it first and hit run from that window instead, it seems to work just fine. I can’t figure out why this might be since I think that one should be the same as the other. This is highly repeatable.

I’m happy to try any suggestions or provide more information, but am not sure what that might be. Since I use a gaze tracker hardware, others may not be able to run my code directly.

Thanks,
Aravind.