Date: Sun, 8 Jun 1997 12:33:05 +0200 From: Ian PiumartaTo: joe@via.net Subject: Re: Can't find sources problem Cc: Squeak@create.ucsb.edu Sender: owner-squeak@create.ucsb.edu Precedence: bulk Status: O Joe,
> -rw-r--r-- 1 joe joe 1560908 Jun 7 20:19 clone.image > -rw-rw-r-- 1 joe joe 1682736 Jun 6 20:41 Squeak1.19d.image > -rw-rw-r-- 1 joe joe 1926023 Jun 6 20:04 SqueakV1.sources > -rw-rw-r-- 1 joe joe 1470279 Jun 6 20:04 Squeak1.19d.changes
Which image are you running? If it's the default one (clone.image) then there is no changes file "clone.changes", which is your problem. Try starting the VM with
./Squeak Squeak1.19d.image
If you're doing this already then the problem is more serious and I don't really know what might be causing it without looking at an execution trace, etc. (You don't say what OS you're using, so I can't suggest the relevant command to show you where the VM is looking for for the files.)
The sources file "SqueakV1.sources" should be found whatever the name of the image -- but beware that a lot of the image sources are in the changes file as there has been considerable development since the .sources file was "frozen". To check this, you need to look at some really *old* methods -- e.g. the arithmetic selectors in SmallInteger.
It's very important to keep your image and changes files together, with the same prefix. Don't rename them manually if you can avoid it -- it's safest to always use the "save as" option from a running image to create a copy with a different name. CompiledMethods in the image contain "pointers" into the .sources and .changes files. If they get "out of sync", you'll see gibberish for any methods whose sources are in the .changes file.
Send me email if the above doesn't cure your problem.
Regards,
Ian ------------------------------- projet SOR ----------------------------
Ian Piumarta, INRIA Rocquencourt, Internet: Ian.Piumarta@inria.fr BP105, 78153 Le Chesnay Cedex, FRANCE Voice: +33 1 39 63 52 87 ----------------------- Systemes a Objets Repartis --------------------
"More About Squeak..."
Last modified at 1/30/98; 9:46:50 AM
Home Page for How To Squeak
Other Links of Interest
College of Computing | EduTech Institute | GVU Center
Mark Guzdial | CS2390, Modeling and Design | STABLE