Setting break points

Avi Bryant avi at beta4.com
Mon Nov 17 20:32:14 UTC 2003


On Nov 17, 2003, at 12:25 PM, Andreas Raab wrote:

>> Perhaps using a MethodWrapper that holds both the old method
>> and the desired breakpoint(s) (condition and PC) would work:
>> the wrapper would just simulate the method until its end or a
>> breakpoint was reached.
>
> I think that's an excellent idea. The method wrapper could (for 
> example)
> also make sure that the break point is only reached for certain 
> receivers
> (or else you have a serious problem with a breakpoint in 
> Morph>>fullDrawOn:)
> hold conditions ("break if x = 3") etc.

Rather than using MethodWrappers, perhaps we could be using the more 
elegant ObjectsAsMethods package?  Has support for that gotten into any 
of the default VMs yet?




More information about the Squeak-dev mailing list