Thanks to Stephan Eggermont who paired with me all morning on this.

Here are the results of the first pass in inbox
(SLICE-Issue-2394-Halt-SeanDeNigris.1):

Object
* 16 methods deprecated
* 5 halt methods that now forward to Halt

Globals - can remove #HaltOnce and #HaltCount (I don't know how)

Halt class
* methods (all heavily refactored from the original Object implementation)
  - 5 for halting API
  - 3 to enable/disable haltOnce
  - 6 private helpers
* 2 class instance variables (for haltOnce/onCount)

World menu - updated to use Halt API

Tests
* 6 new assertions in 2 test methods
* 4 test helpers for halt behavior
* changed other halt tests to use the helpers

Questions remaining:
* countOn: (which I left it in for the time being)
  - safety & scope (see earlier in thread)
  - method name

--
View this message in context: http://forum.world.st/Halt-tp3774723p3776819.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.

Reply via email to