Setting break points

Andreas Raab andreas.raab at gmx.de
Mon Nov 17 20:38:28 UTC 2003


Avi,

> Rather than using MethodWrappers, perhaps we could be using the
> more elegant ObjectsAsMethods package? 

Same difference ;-) ObjectsAsMethods probably makes this a little easier
since you can make a class MethodBreakPoint which can act as the basis for
all sorts of weird break points you can ever imagine (sometimes I find this
useful if I need extremely specific break points). The default could just
take a block which (if present) gets evaluated and if it evaluates to true
it signals an exception.

> Has support for that gotten into any of the default VMs yet?

I think that the latest 3.6 VMs all have support. It's simple to find out -
load 3.6, run a "Smalltalk recreateSpecialObjectsArray" (this was missing
from 3.6) load the tests from SM and run them. If your image crashes ...
well, then your VM doesn't have support ;-)

Cheers,
  - Andreas





More information about the Squeak-dev mailing list