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.