Stepper
David Farber
dfarber at numenor.com
Sun Feb 13 20:58:47 UTC 2000
i agree. a "debug it" command on the pop-up menu would be really handy.
david
At 02:41 AM 2/13/00 -0500, you wrote:
>
>I think Joe still has a point... I've often thought it'd be good to make
>stepping through code even more accessible than it is now, for beginners.
>
>You could do this by adding something like a "step through it" command to
>the text editor menu, right after "do it", "print it" and "inspect it",
>which would bring up the debugger at the beginning of the selected code.
>This would make stepping (& debugging) instantly accessible for beginners,
>without having to know to add a "self halt". (and convenenient for
>experts, too. :) )
>
>- Doug Way
> EAI/Transom Technologies, Ann Arbor, MI
> http://www.transom.com
> dway at mat.net, @eai.com
>
>
>
>On Fri, 11 Feb 2000, Dwight Hughes wrote:
>
>> Just insert
>>
>> self halt.
>>
>> right before the code you want to begin stepping. When the execution
>> hits this you will be dropped into the debugger and can step as much as
>> you like. For maximum ease (assuming you are using version 2.7), I would
>> recommend that you do this in a Morphic Project and that you set the
>> "optionalButtons" Preference to "true" - this brings up a set of very
>> handy buttons on the debugger (and on the other tools) that make it
>> easier to get started.
>>
>> -- Dwight
>>
>> Joe Blask wrote:
>> >
>> > Hello all!
>> >
>> > Is there a stepper for Squeak? Besides being a good programming
>> > tool, a stepper could be useful for a person teaching the language.
>> >
>> > Sometimes code does not trigger the debugger but I would still like
>> > to trace its execution path. As the namespace gets more complex, I
>> > might want to trace the lookup paths of methods in the environment.
>> >
>> > Just some thoughts,
>> >
>> > ==Joe==
>>
>>
>
>
--
David Farber
dfarber at numenor.com
More information about the Squeak-dev
mailing list
|