Blocks

Umur at Writeme umur at writeme.com
Fri Jun 27 08:23:30 UTC 2003


Certainly, I hate stepping into the blocks to find out what they are...

Umur

-----Original Message-----
From: squeak-dev-bounces at lists.squeakfoundation.org
[mailto:squeak-dev-bounces at lists.squeakfoundation.org] On Behalf Of
Nevin Pratt
Sent: Thursday, June 26, 2003 8:53 PM
To: squeak-dev at lists.squeakfoundation.org
Subject: Blocks


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