Setting breakpoints?

Ivan Brusic ibrusic at wsicorp.com
Wed Apr 19 20:50:51 UTC 2000


John Chludzinski wrote:
> 
> Is 'self halt' the preferred (only) way to set a breakpoint?

That is my method.  Not quite sure if there are other ways.

> (Not that this is bad - so long as there some way to list ALL
> 'self halts'.)

I normally create a class called Debug with a class method called xxx
that calls self halt.
So instead of searching for 'halt' in my code, I just look for 'xxx'. 
You can of course substitute xxx with the name of your choice. :)

Ivan

-- 

Ivan Brusic                          |  "Computers are nothing but a
perfect
E-mail: ibrusic at wsicorp.com          |   illusion of order" - Iggy Pop





More information about the Squeak-dev mailing list