[ENH] Enhanced Debugging Experience (first shot)

Jon Hylands jon at huv.com
Thu Jul 19 20:33:04 UTC 2001


On Thu, 19 Jul 2001 21:48:02 +0200, you wrote:

> Some more things I would like to do are:
> - a 'reset' menu function which resets the selected context, without
> proceeding immediately.
> - a 'skip to caret' menu function which steps until the pc is just
> before the selected point in the method.
> - true breakpoints which can be added and removed without requiring
> recompilation, and without losing existing context's state.

One of the most useful things I've ever seen in a debugger is in the
VisualAge debugger (I think it was in the Enhanced Tools add-on or
something). When you come to a block embedded in the method source, it
allows you to step over all the implementation junk of the methods
implementing the block evaluation and stops on the first instruction
inside the block.

So, for instance, in

	self projectsDo: [:each | each updateStatus]

you could click on this other button (I think it was "Through") when
#projectsDo: is highlighted, and the next thing highlighted would be
#updateStatus.

Makes it so much simpler to deal with complex block iterators...

Later,
Jon

--------------------------------------------------------------
   Jon Hylands      Jon at huv.com      http://www.huv.com/jon

  Project: Micro Seeker (Micro Autonomous Underwater Vehicle)
           http://www.huv.com





More information about the Squeak-dev mailing list