[BUG] debugger recursively open

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[BUG] debugger recursively open

Nicolas Cellier-3

Putting a halt in printOn: or any method called by printOn: is not something
to do...

I just experimented this funny game, and got several hundred debuggers opened.

If you want to learn how to close a window programatically in Squeak, try it.

Nicolas


Reply | Threaded
Open this post in threaded view
|

Re: [BUG] debugger recursively open

Noury Bouraqadi
Hi Nicolas,

To avoid this recursion, you should use haltOnce instead of halt.
But, first you should enable halt once (message setHaltOnce).
More in category 'debugging-haltOnce' in Object.

BTW, all these are in Squeak 3.9.

Noury


Le 10 mai 06, à 00:18, nicolas cellier a écrit :

>
> Putting a halt in printOn: or any method called by printOn: is not
> something
> to do...
>
> I just experimented this funny game, and got several hundred debuggers
> opened.
>
> If you want to learn how to close a window programatically in Squeak,
> try it.
>
> Nicolas
>
>
>
--------------------------------------------------------------
Dr. Noury Bouraqadi - Enseignant/Chercheur
Ecole des Mines de Douai - Dept. G.I.P
http://csl.ensm-douai.fr/noury

European Smalltalk Users Group Board
http://www.esug.org

Squeak: an Open Source Smalltalk
http://www.squeak.org
--------------------------------------------------------------