Blocks

Nevin Pratt nevin at smalltalkpro.com
Thu Jun 26 18:52:52 UTC 2003


There's a minor annoyance I have with Squeak, and have had it for some 
time.  With VisualWorks, I can look at a block in the debugger, and see 
the source code of the block.  I can't do that with Squeak.

No, I'm not talking about stepping into a block-- I know I can do that 
just fine.

But if I inspect an object, and that object has an instance variable 
whose value is a block, and I then inspect that instance variable, 
VisualWorks gives me a lot more context information about the block than 
Squeak does.

With VisualWorks, that context includes the source code where the block 
was created.  With Squeak, I have a BlockContext that has a 
MethodContext that has a CompiledMethod (as well as a receiver), but 
nowhere can I see source to the block from the debugger this way.

Does this bother anybody else?

Nevin




More information about the Squeak-dev mailing list