Hello, all,
My son is working with morphs and has a sketchmorph sublcass that he's adding to the World like this:
World addMorph: aCity.
This causes Squeak to go away and never come back. Alt+. does not work. When I debug, it seems to hang up in the CopyReplace code of the AddMorph routine. I've put halts in his initialize code thinking he's looping somehow but I sure can't see it. I can run the CopyReplace code once, then the VM goes back to that code, and if it tries to run it again, it hangs up. It's trying to replace with a start of 2 and a stop of 1, but that appears to be a legimate "add".
I'm kind of stumped as to where to look.
===Blake===
On Dec 30, 2007 6:47 PM, Blake blake@kingdomrpg.com wrote:
My son is working with morphs and has a sketchmorph sublcass that he's
adding to the World like this:
World addMorph: aCity.
This causes Squeak to go away and never come back.
How rude! But I hope you might get better results with this:
aCity openInWorld.
Good luck with it!
--Tom Phoenix
squeak-dev@lists.squeakfoundation.org