[BUG][FIX] doStep in Debugger right away ( [er][et][sm][cd] )
marcus at ira.uka.de
marcus at ira.uka.de
Sun Aug 24 11:40:28 UTC 2003
| 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
|