Hi Johan,
I just noticed that you used "self halt" in your example.
The problem is that if you put it in the rendering code this will basically get invoked every 30 ms. A more practical solution is to use haltOnce. This is the same as halt, only that it is guarded by a global flag. Just make sure that you enable it from the Debug world menu.
Cheers, Doru
On 2 Dec 2009, at 13:10, Johan Fabry wrote:
Hi Stef, this is the same behavior as what I reported in http://code.google.com/p/pharo/issues/detail?id=1525 and http://code.google.com/p/moose-technology/issues/detail?id=237 How to reproduce is also there. On 02 Dec 2009, at 08:30, Stéphane Ducasse wrote:
Do you have a example that we can reproduce?
Stef
On Dec 1, 2009, at 9:23 PM, Alexandre Bergel wrote:
Regarding the problem with the number of arguments in the block. Why is it crashing the image?
The image is not crashing actually. It just hangs on forever without giving a chance to interrupt the process.
Anyway, you might want to use an approach similar to the implementation of glamourValue: in Glamour.
It could be a nice fix, but clearly not a general solution. The image hangs because of a bug in Squeak/Pharo. For some reason, the exception thrown by the virtual machine is not properly caught. This is a hard problem that will need to be fixed some days.
Alexandre
-- Johan Fabry jfabry@dcc.uchile.cl - http://dcc.uchile.cl/~jfabry PLEIAD Lab - Computer Science Department (DCC) - University of Chile
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Relationships are of two kinds: those we choose and those that happen. They both matter."