[squeak-dev] The Trunk: Tools-mt.1190.mcz
commits at source.squeak.org
commits at source.squeak.org
Thu Feb 16 08:38:43 UTC 2023
Marcel Taeumel uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-mt.1190.mcz
==================== Summary ====================
Name: Tools-mt.1190
Author: mt
Time: 16 February 2023, 9:38:41.897287 am
UUID: 91daa1d9-9457-f646-a5d2-32fbd45dd79b
Ancestors: Tools-mt.1189, Tools-jar.1189
Complement Kernel-mt.1504
=============== Diff against Tools-mt.1189 ===============
Item was changed:
----- Method: Debugger>>send (in category 'context stack menu') -----
send
"Send the selected message in the accessed method, and take control in
the method invoked to allow further step or send."
+ | newContext currentContext |
self okToChange ifFalse: [^ self].
self interruptedProcessIsReady ifFalse: [^ self shouldNotStep].
self checkContextSelection.
+ currentContext := self selectedContext.
+ self handleLabelUpdatesIn:
+ [interruptedProcess step: currentContext]
+ whenExecuting: currentContext.
- interruptedProcess step: self selectedContext.
interruptedProcess ifNil: [^ self shouldNotStep].
+ newContext := interruptedProcess stepToSendOrReturn.
+ self updateProcess.
+ self contextStackIndex > 1
+ ifTrue: [self resetContext: newContext]
+ ifFalse:
+ [newContext == currentContext
+ ifTrue: [self changed: #contentsSelection.
+ self updateInspectors]
+ ifFalse: [self resetContext: newContext]]!
- self resetContext: interruptedProcess stepToSendOrReturn.!
More information about the Squeak-dev
mailing list
|