Issue with self halt.
Bryce Kampjes
bryce at kampjes.demon.co.uk
Tue Dec 6 10:53:39 UTC 2005
Hans-Martin Mosner writes:
> Alexandre Bergel wrote:
>
> > Hi!
> >
> > I am encountering a situation for which proceeding a 'self halt'
> > changes the result of the method in which it is contained.
> > i.e., [self halt. "blah..."] has not the same effect than ["blah..."]
> > Does anyone see such a thing ?
>
> Do the objects visible in the debugger have some lazy initialization
> code which might be triggered by them being displayed?
> Without seeing any context, that would be my first guess.
It's also possible that the code relies on object hashes or
similar. I've had a few bugs that were hidden by the order that a Set
or Dictionary is iterated over. On different runs the hash values can
be different so objects are stored in different orders.
Bryce
More information about the Squeak-dev
mailing list
|