[BUG] Can't go inside an ensure: receiver block in the debugger

Andreas Raab Andreas.Raab at gmx.de
Wed Feb 13 11:33:50 UTC 2002


> Any simple solution?

Yup. Just add the following to
ContextPart>>doPrimitive:method:receiver:args: 

	(primitiveIndex = 123 and: [receiver isMemberOf: BlockContext])
		ifTrue: [^receiver pushArgs: arguments from: self].

Cheers,
  - Andreas

> -----Original Message-----
> From: squeak-dev-admin at lists.squeakfoundation.org 
> [mailto:squeak-dev-admin at lists.squeakfoundation.org] On 
> Behalf Of Henrik Gedenryd
> Sent: Wednesday, February 13, 2002 10:39 AM
> To: Squeak list
> Subject: [BUG] Can't go inside an ensure: receiver block in 
> the debugger
> 
> 
> You currently cannot go inside an ensure: receiver block when 
> you encounter
> one in the debugger.
> 
> This seems to be due to the #valueUniterruptably message used 
> to evaluate
> the receiver block.
> 
> However, if I put a halt inside that code it will bring up 
> the debugger
> nicely. That does seem to contradict the name of that said message.
> 
> Any simple solution?
> 
> Henrik
> 
> 
> 





More information about the Squeak-dev mailing list