Path: utzoo!attcan!uunet!husc6!bbn!rochester!rocksanne!entire!elt From: elt@entire.UUCP (Edward L. Taychert) Newsgroups: comp.lang.smalltalk Subject: Re: Unwanted Instances Summary: turn 'em into nil strings Message-ID: <3267@entire.UUCP> Date: 21 Oct 88 18:28:21 GMT References: <1318@aucs.UUCP> Distribution: na Organization: Entire Inc, East Rochester, NY Lines: 45 In article <1318@aucs.UUCP>, 831059l@aucs.UUCP (Langlois) writes: > > I just started to use Smalltalk/V so please bare with my questions. > I am using Smalltalk/V and have filed in the multiprocessing classes that > came on the Goodies disk. I need the multiprocessing for doing simulations > my area of study in school. I want to modify to hierarchy of classes which > I created but when I try to execute > > Uniform removeFromSystem > > I get a walkback window saying that Uniform has instances. When I execute > > Uniform allInstances > > I get (an Uniform) back so its there somewhere, but where? How can I find > out where this instance is? > I've had the same problem. Digitalk customer support gave be the WORKAROUND and I wrote it into the jacket of my manual. Unfortunately, that's at home. Here's the best that I can remember: Uniform allInstances do: [:i| i become: String new ] The nil strings are reaped on the next garbage collection. I've had to do this so often that I keep it in my transcript pane. I also get phantom panes. The only way I know to get rid of them is Scheduler reinitialize Warning, this wipes out all panes, including the Transcript pane. Save anything that you really want to keep to disk first. Customer support tells me that both problems are fixed in 286V but I don't have it yet and cannot verify the statement. -- ____________________________________________________________________________ Ed Taychert Phone: USA (716) 381-7500 Entire Inc. UUCP: rochester!rocksanne!entire!elt 445 E. Commercial Street East Rochester, N.Y. 14445 _____________________________________________________________________________