It does not work on Pharo3.0. But it used to work!

At least it works on the Squeak5.0: from the method pane, you can
evaluate both instance and method variables, usefull when you need to
make some code test with both instance and method variable.

So it looks like a regression appearing at least with pharo 3.0, but may
be before :(


Hilaire

Le 06/04/2016 09:13, Nicolai Hess a écrit :
> I now see the problem.
> For the context inspector, the compiler can generate code for evaluating
> the "printit on a variable"
> but for variables that are in fact instance variables, it does not
> generate an error because
> it resolves the variable name and index from the (object) instance
> scope. This is wrong I think.
> With that index, the code will access not the method object instance,
> but the context.
> It therefore reads some context instance data (stackpointer for exampe!).
> 
> Are you sure this ever worked?
> I am afraid we can not fix this. Pharo 5.0 is about to release and it
> contains a new Debugger.
> The (old) spec debugger is still there, but it does not provide the
> printIt/doIt commands on the isntance and context inspector panes...

-- 
Dr. Geo
http://drgeo.eu


Reply via email to