Blocks

Daniel Vainsencher danielv at netvision.net.il
Thu Jun 26 22:34:34 UTC 2003


Yes, I'd like this too. How does the debugger do this? does it use the
block, or does it require process (dynamic) information?

Daniel

Nevin Pratt <nevin at smalltalkpro.com> wrote:
> 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