[Pharo-project] haltOnce and haltOnCount
Hi, when are these messages used? what are the scenarios? I just want to understand why they are there... -- *Hernán Wilkinson Agile Software Development, Teaching & Coaching Mobile: +54 - 911 - 4470 - 7207 email: hernan.wilkinson@10Pines.com site: http://www.10Pines.com <http://www.10pines.com/>*
2010/9/30 Hernan Wilkinson <hernan.wilkinson@10pines.com>
Hi, when are these messages used? what are the scenarios? I just want to understand why they are there...
Let's say you want to debug the debugger. As soon as you've hit the halt you then want the debugger to stop halting otherwise you can't debug it because it'll halt all the time. For this you need haltOnce. HTH Eliot
-- *Hernán Wilkinson Agile Software Development, Teaching & Coaching Mobile: +54 - 911 - 4470 - 7207 email: hernan.wilkinson@10Pines.com site: http://www.10Pines.com <http://www.10pines.com/>*
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
I used haltOnce quite often when I had to debug the rendering facilities in Mondrian. Putting "self halt" in a drawOn: method can easily freeze your image. Alexandre On 30 Sep 2010, at 17:18, Hernan Wilkinson wrote:
Hi, when are these messages used? what are the scenarios? I just want to understand why they are there...
-- Hernán Wilkinson Agile Software Development, Teaching & Coaching Mobile: +54 - 911 - 4470 - 7207 email: hernan.wilkinson@10Pines.com site: http://www.10Pines.com
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
participants (3)
-
Alexandre Bergel -
Eliot Miranda -
Hernan Wilkinson