[Newbies] Stopping a debug-window loop

Blake blake at kingdomrpg.com
Mon Sep 3 08:47:30 UTC 2007


On Sat, 01 Sep 2007 20:46:29 -0700, Michael van der Gulik  
<mikevdg at gulik.co.nz> wrote:

> Install REPLServer, which should be available from SqueakMap or the
> PackageUniverse. Start it and make sure it works. When Morphic breaks,
> telnet to localhost on port 4445 and type in:
>
> : utils rebootMorphic.
>
> This will give you a fresh Morphic desktop where you can fix things
> from. You can also manipulate processes from REPLServer.

That...is awesome.

> I also save my image before each time I try to run my code if the code
> is likely to be problematic.

I don't have a good eye for that yet. This one I didn't see coming and  
still don't quite get why it was looping. I understood the bug (I was  
looking for something in a dictionary that wasn't there) but it should  
have only activated when the mouse was over the morph. Yet there it was.


More information about the Beginners mailing list