PDA

View Full Version : Alice 3.25 - Exits / Crashes Without Explanation or Error


wbarnum
09-17-2015, 11:01 PM
I have been having students report to me that they will have Alice 3.25 exit without any error message.

I had one student set a screen recorder while he was working and he caught these three incidents yesterday:

https://www.youtube.com/watch?v=C6sb5mY80iw&feature=youtu.be

This has started happening now that we are working on a project with many methods, especially ones that are part of the "world". I don't know if this is related or not.

Has anyone experienced anything like this?

MrMoke
09-18-2015, 01:20 PM
Never really happened to me. Most problems with programs are the result of programmer error. Thus the need for QA Teams.
I did notice that the world in Crash01 contained a Huge number of objects. That might indicate that the student was more focused on creating a pretty picture than a functional algorithm.
Adding an large number of objects to a single world will proportionally increase it's size due to the methods, functions, and properties for each one even though they may never be used.

You might want the students to cut the clutter, and focus on logic and code.

wbarnum
09-18-2015, 02:10 PM
I did notice that the world in Crash01 contained a Huge number of objects.

Thanks for the advice. Is there a "rule of thumb" for a number of objects where Alice will start acting glitchy?

MrMoke
09-18-2015, 02:52 PM
Not aware of any, but based on years of experience, the more you put into a program, the more likely it is to crash from programmer error syndrome:eek: