Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!munnari.oz.au!metro!news From: objtch@extro.ucc.su.oz.au (Peter Goodall) Newsgroups: comp.lang.smalltalk Subject: Re: Mysterious appearances of Doits in V286 Message-ID: Date: 21 Nov 90 20:33:38 GMT References: <2562@runxtsa.runx.oz.au> Sender: news@metro.ucc.su.OZ.AU (news) Organization: Uni Computing Service, Uni of Sydney, Australia Lines: 33 Nntp-Posting-Host: extro.ucc.su.oz.au timm@runxtsa.runx.oz.au (Tim Menzies) writes: >Does anyone else get mysterious "Doit" methods appearing in their >Smalltalk/V 286 image? >The manual says that only Undefined object has a "Doit" method >(though lord knows what it does). But my virgin Smalltak V 286 >images tells me (via Smalltalk implementersOf: #Doit) that there >are Doits in Array, Interval, etc, etc. Sometimes, in the classes >that I've created, Doits appear. I delete them and nothing >untoward happens. >Still, I'm curious. Where do they come from? Can I kill them safely? Tim, These Doit methods are created when you execute text expressions in workspaces and inspectors. I believe that normally they are tidied up after a successful execution. When an error or halt happens and you close the debugger without resuming, the system-generated Doit methods are left where they were created. I think the Doit in Undefined Object is the one created by expressions in workspaces. The others in inspectors. As far as I know removing them is OK. ---------------------------- Peter Goodall Smalltalk Systems Consultant ObjecTech P/L 162 Burns Bay Rd, LANE COVE , NSW, AUSTRALIA objtch@extro.ucc.su.oz.au