[Pharo-project] 'self halt' safety net

Sean P. DeNigris sean at clipperadams.com
Sat Aug 11 15:42:17 CEST 2012


Igor Stasenko wrote
> 
> in pharo you can use
> Halt now.
> which is imo the right way to do it..
> 
> but i so get used to type 'self halt' .. its hard to get rid of bad
> habits. :)
> 

One little carrot to use "Halt now." is that it opens the debugger on the
method with the halt in it instead of on Object>>halt, where you go to be
punished for using "self halt" ;) I just found that out because after
fighting to remove "self halt", I didn't get rid of my bad habit either, ha
ha

- S



--
View this message in context: http://forum.world.st/self-halt-safety-net-tp4643012p4643843.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.



More information about the Pharo-project mailing list