Please excuse me if this is not the correct topic for this section.
When during trial & error process in grasshopper with ghpython component, user creates an infinite loop by accident, grasshopper, respectively rhino crash.
This leads to loss of unsaved stuff, that even the recovered file is not saving. Not to mention it ruins the experience and one starts to wonder how reliable GH is for prototyping.
There should probably be an exception displayed that there is an infinite loop instead of trying to run it and end up crashing Rhino.
The “while loop” in particular, every time I try to use it I crash Rhino. This restricts me to look for alternative methods like “for i in range(a,b)” but this doesn’t work in all cases.
I know a little programming different languages different syntax in my head but I’m not a programmer and it happens frequently to just try different stuff with python and see what works. Leading to a lot of errors and unintentional loops.