[squeak-dev] Simulation discrepancy with #return:

=?EUC-KR?B?sK3B+L/A?= jinoh67 at gmail.com
Tue Mar 13 12:50:41 UTC 2012


Yes, the code simulation still have errors that even the team had to put
simulation guard in newProcess.

- Jin-oh -
2012. 3. 13. ¿ÀÈÄ 7:29¿¡ "Yoshiki Ohshima" <Yoshiki.Ohshima at acm.org>´ÔÀÌ ÀÛ¼º:

>  Hello,
>
> I noticed that step executing the following code in debugger yields
> different results:
>
> -------------------
> test
>
>        3 < 4 ifTrue: [
>                thisContext return: 42].
>        ^ 666.
> -------------------
>
> In the normal execution, you get 42 as expected, but if you debug it
> and step execute, #return: does not actuall return and you get 666.
>
> It appears that the primitive for #terminateTo: is the culprit...
>
> -- Yoshiki
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20120313/07a2072a/attachment.htm


More information about the Squeak-dev mailing list