Aug. 17, 2010
6:56 p.m.
In CodeHolder apparently there is support for breakpoint. Does anybody know how this works? Stef
toggleBreakOnEntry "Install or uninstall a halt-on-entry breakpoint"
| selectedMethod | self selectedClassOrMetaClass isNil ifTrue:[^self]. selectedMethod := self selectedClassOrMetaClass >> self selectedMessageName. selectedMethod hasBreakpoint ifTrue: [BreakpointManager unInstall: selectedMethod] ifFalse: [BreakpointManager installInClass: self selectedClassOrMetaClass selector: self selectedMessageName].