[BUG][FIX] doStep in Debugger right away ( [approved][for 3.7alpha] )

Doug Way dway at riskmetrics.com
Fri Aug 29 20:50:34 UTC 2003


Approved.  Doesn't feel like quite important enough a bug to go in 3.6 
at this late stage, though.  (Also Marcus didn't approve it himself, 
which I interpret as some hesitance on his part. ;-) )


marcus at ira.uka.de wrote:

>|   In old days, you used to be able to click on the Debug button of a
>| notifier, move the pointer in the stack list pane (but not clicking),
>| and press Alt-t to start debugging right away.  This was convenient
>| when you put 'self halt'.  Now, this operation raises an error.  This
>| change set fixes the problem.
>|
>
>This is a Single line change in Debugger>>checkContextSelection:
>
>original:
>contextStackIndex = 0 ifTrue: [contextStackIndex _ 1]
>changed:
>contextStackIndex = 0 ifTrue: [self context StackIndex: 1 oldContextWas:
>nil].
>
>This ensures correct initialisation. 
>checkContextSelection is called on doStep, proceed, restart, send,
>all of them work fine afterwards. 
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>< I'm a bug-fixing machine! >
>
>This post brought to you by the BugFixArchiveViewer, a handy tool that
>makes it easy to comment on proposed fixes and enhancements for Squeak. 
>For more information, check out the Web page for the BugFixArchiveViewer
>project: http://minnow.cc.gatech.edu/squeak/3214 
>
>< I'm a bug-fixing machine! >
>  
>




More information about the Squeak-dev mailing list