[squeak-dev] Trying to understand thisContext

matthias.springer me at matthiasspringer.de
Mon Jun 8 13:45:42 UTC 2015


Hi there,

I am trying to understand what the meaning and implementation of
"thisContext" is.

On a recent COG VM, "[ |a b| a:=b:=1. thisContext basicSize ] value" returns
3. Adding more temp vars increases that value.

On a Cocoa VM (http://squeakvm.org/mac/release/Squeak%205.7.4.1.zip), the
same code always returns 0. Also, "thisContext at: 1" etc. is out of bounds.

Which one is correct? Any ideas?

The reason why I am asking is because there is code that seems to rely on
this (e.g. SystemTracer2>>writeContext:) and I am trying to get it running
on RSqueak.

Thanks,
Matthias



--
View this message in context: http://forum.world.st/Trying-to-understand-thisContext-tp4830938.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.


More information about the Squeak-dev mailing list