[squeak-dev] Emergency evaluator broken?
David T. Lewis
lewis at mail.msen.com
Thu Dec 12 20:01:17 UTC 2013
Good catch. It's been a while since I tried unloading/reloading MVC, but
I'm fairly sure that I never tried to do anything that would invoke it
while I had MVC unloaded from the image. So I cannot say if it works in
Morphic-only or not.
Assuming that it is a problem, we should see how Juan handles it in Cuis
(which has no MVC, and presumably does have a working emergency
evaluator).
I can definitely confirm that the emergency evaluator works in MVC,
because I fell into it about a zillion times in the course of getting the
debugger to work in MVC again ;-)
Dave
> I've not run into the emergency evaluator, but I wonder: Transcript
> class >> #emergencyEvaluator calls Transcript >> #newInFrame:, which
> calls #initInFrame: which checks for a class called Paragraph. (Trunk
> doesn't have such a class, because - AFAIK at least - it's an ST80
> class). If there's no such class, _it raises an #inform:_. In an
> emergency, that's probably not what you want!
>
> So: has anyone used the emergency evaluator of late? Have you used it
> in an image without ST80?
>
> Certainly the example usage in Transcript >> #newInFrame: is broken:
>
> (Transcripter newInFrame: (0 at 0 extent: 100 at 200))
> nextPutAll: 'Hello there'; endEntry;
> cr; print: 355.0/113; endEntry;
> readEvalPrint.
>
> frank
>
More information about the Squeak-dev
mailing list
|