Setting break points

Andreas Raab andreas.raab at gmx.de
Mon Nov 17 20:25:54 UTC 2003


> 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.

Cheers,
  - Andreas




More information about the Squeak-dev mailing list