A strange Squeak bug

Yar Hwee Boon hboon at motionobj.com
Tue Feb 8 02:53:25 UTC 2005


On 08-Feb-05, at AM 02:42, Samir Saidani wrote:

> Mmm, sorry, I'm not clear. In fact, I'm interested in the general case
> : a beginner makes a mistake and the debugger tells it *clearly* what
> is the nature of the error (for instance, the debugger ask a question
> to the beginner "are you sure that you want really to do a binding
> ... ?). a FAQ assumes that you have a question, but the beginner
> (alone, without guidance) has no question at the point of its error,
> or more exactly, the poor question : "why there is an error ?" due to
> the lack of friendship (be understandable at the level of the
> beginner) of the debugger. The debugger assumes that you are a power
> smalltalker. The idea is that Squeak offer the beginner some questions
> to explore (and then -> FAQ).

I was thinking more along the lines of having no code changes, instead 
just having a few tutorials, faqs including what to do and what not to 
do or to look out for. Anyway, perhaps you can also consider hooking 
into the parser/compiler, so that you can run "safe" code. ie. you can 
catch the assignment before the debugger is involved. Just a suggestion 
that, not sure if it might be more difficult to do.

--
HweeBoon
MotionObj
(65) 6764-9774




More information about the Squeak-dev mailing list