On Sunday 29 April 2001 04:08, phiho.hoang wrote:
Henrik wrote:
There is only one thing I miss. The restart command starts executing the current method from the beginning even if you've gone halfway thru it. I just wish one had the option of restarting with the debugger, so one could debug into a message that one has passed over by accident.
I agree, this would be very convenient. I wonder if that feature is
within the power of Smalltalk.
I posted a version of this to the list earlier. I haven't used it yet; it'll be interesting to see if anyone finds it useful (besides PhiHo and Henrik, of course <g>).
Some more things that should be pretty easy to add:
* run to cursor: step until PC is at (or just past?) where you put your cursor
* reset PC to cursor (backwards or forwards?). Could skip code in this way.
Any thoughts on these?
I'd really like to have a copy of Terry Raymond's _Smalltalk Professional Debug Package_ (http://www.craftedsmalltalk.com) for Squeak, but I doubt that Terry sees much of a market here. It works great with VisualWorks, though.
Ned Konz wrote:
I posted a version of this to the list earlier. I haven't used it yet; it'll be interesting to see if anyone finds it useful (besides PhiHo and Henrik, of course <g>).
Some more things that should be pretty easy to add:
run to cursor: step until PC is at (or just past?) where you put your cursor
reset PC to cursor (backwards or forwards?). Could skip code in this way.
Any thoughts on these?
They all sound quite useful to me. I'd like to have them in the image.
I started on a version of step that steps right into the code in a block of e.g. a collect: message without requiring you to step thru the code of the collect: itself. However, there still remained some polishing to do.
H
squeak-dev@lists.squeakfoundation.org