Image file pointers to source

Peter William Lount paradigm at unixg.ubc.ca
Mon Jan 18 18:53:08 UTC 1999


Hi Sam,

I don't know if any utility object with code to recover you image file
points to your sources and changes files exists or not but your could try
this approach:

	Source Code Pointer Recovery Process

	Step 1) Create an utility object that will read the sources file (in
beginning to end or reverse sequence as it should not matter) and reattach
(the pointer of) each method source found to it's compiled method in the
image.
	Step 2) Have the utility object read the changes file from in beginning to
end sequence (it does matter) and reattach each method source found to it's
compiled method in the image. You'll have to skip over 'source chunks' that
are not source code. i.e. do it's, comments...
	Step 3) Save the image as it now should have it's source pointers to the
latest versions of the methods (in source or the changes file).
	Step 4) Release the source code to the Squeak project. ;--)

All the best,

Peter
----------
From: Sam <sgopale at usa.net>
To: squeak at cs.uiuc.edu
Subject: Image file pointers to source
Date: January 16, 1999 2:49 AM

My current Image file has pointers to the source out of sync. Is
there any way to get them back in sync, without losing the comments?

I tried filing in the sources file and the changes file. But both of
them gave errors.

Sam

____________________________________________________________________
Get free e-mail and a permanent address at http://www.netaddress.com/?N=1





More information about the Squeak-dev mailing list