[squeak-dev] The Trunk: Tools-jar.1189.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Feb 16 08:40:13 UTC 2023


Marcel Taeumel uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-jar.1189.mcz

==================== Summary ====================

Name: Tools-jar.1189
Author: jar
Time: 31 January 2023, 6:13:22.676927 pm
UUID: 70af9ca9-39c5-3944-a8dc-84124e321288
Ancestors: Tools-mt.1188

fix a bug when doing stepInto; this fix makes the three methods #stepInto, #stepOver and #stepThrough consistent. Sending an example in a separate message.

=============== Diff against Tools-mt.1188 ===============

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