[squeak-dev] Broken user interrupt

Bert Freudenberg bert at freudenbergs.de
Wed Dec 14 17:33:37 UTC 2011


On 14.12.2011, at 18:03, Bert Freudenberg wrote:

> On 14.12.2011, at 17:55, Bert Freudenberg wrote:
> 
>> On 14.12.2011, at 09:07, Andreas Raab wrote:
>> 
>>> On 12/13/2011 23:30, Eliot Miranda wrote:
>>>> 
>>>> 
>>>> 
>>>> On Tue, Dec 13, 2011 at 1:36 PM, Lawson English <lenglish5 at cox.net> wrote:
>>>> That sounds really great.
>>>> 
>>>> However, there are some broken bits in Squeak that will make learning Smalltalk difficult.
>>>> 
>>>> Most simple and important example I have right now is the well-known issue that the VM will freeze indefinitely if you input a long running calculation, e.g. x := 100000 factorial. The interrupt key doesn't work, usually.  Newbies like me, like to experiment, and if the VM freezes with every typo, then its hardly worth using.
>>>> 
>>>> This is interesting because it does *not* freeze in my Qwaq-derived work image.  Here the interrupt key works perfectly with no delay.  I'll see if I can investigate.  Andreas, do you recall doing anything to the debugger to fix issues like this in the Qwaq system?
>>> 
>>> Nothing I can recall. Also, when I try interrupting 100000 factorial in a 4.2 image with either a Teleplace or OpenQwaq VM I have no trouble interrupting anything. So it doesn't look like it's an issue in the image that is causing it. Wonder if there's anything changed in the support code perhaps...
>>> 
>>> Cheers,
>>>   - Andreas
>> 
>> 
>> I think there may be an error when trying to bring up the user interrupt dialog.
>> 
>> Pressing Cmd-. during "100000 factorial" does create a SqueakDebug.log file immediately, but does not show the debugger.
>> 
>> - Bert -
> 
> 
> Found something: reverting  #openInterrupt:onProcess: from the "mtf 2/5/2011" version to the older "sd 11/20/2005" version restores interruptability 
> 
> - Bert -

... as does ignoring the CurrentReadOnlySourceFiles exception in the logging code. Levente?

- Bert -


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20111214/b8d58384/attachment.htm


More information about the Squeak-dev mailing list