Hi
I continued to code a little tool based on code of Alain to detect
deadcode, so far I'm too sick to have clear
idea why it freezes on Morph. However it works on ClockMorph and
IconicButton.
If you want to have fun save your image before
MCHttpRepository location: 'http://www.squeaksource.com/MetaF'
This package got inspired heavily by code given by Alain Plantec.
It was further improved by S. Ducasse and S. Denier who got great fun
in designing it.
The basic principle is the following one:
rename all methods of a class: XXX -> NOTSENTXXX.
but before install #doesNotUnderstand: and #recompileNotSent:,
so that, for a not understood message named YYY, if NOTSENTYYY
exists, then,
NOTSENTYYY is dynamically renamed YYY and then, message is resent.
Deals also with superclass methods that were hidden (and could be
accessible due to the previous strategy),
by recompiling them locally with the default behavior to recompile
themselves into the NOTSEND associated
one when executed.
1 March 2009
Known Issues:
----------------
- freezes when applied on Morph
Stef
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project