The Trunk: Tools-eem.627.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Tools-eem.627.mcz

commits-2
Eliot Miranda uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-eem.627.mcz

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

Name: Tools-eem.627
Author: eem
Time: 1 July 2015, 4:24:25.556 pm
UUID: ef07ef13-aa42-4e9c-baf8-3b6ccbfa1f92
Ancestors: Tools-eem.626

Use Kernel-eem.931 to have the debugger update its label to the description of an exception raised while debugging.

=============== Diff against Tools-eem.626 ===============

Item was changed:
  ----- Method: Debugger>>doStep (in category 'context stack menu') -----
  doStep
  "Send the selected message in the accessed method, and regain control
  after the invoked method returns."
 
  | currentContext newContext |
  self okToChange ifFalse: [^ self].
  self checkContextSelection.
  currentContext := self selectedContext.
+ newContext := [interruptedProcess completeStep: currentContext]
+ on: Notification
+ do: [:ex|
+ (ex tag isArray
+ and: [ex tag size = 2
+ and: [(ex tag first == currentContext or: [ex tag first hasSender: currentContext])]])
+ ifTrue:
+ [self labelString: ex tag second description.
+ ex resume]
+ ifFalse:
+ [ex pass]].
+ newContext == currentContext ifTrue:
+ [newContext := interruptedProcess stepToSendOrReturn].
- newContext := interruptedProcess completeStep: currentContext.
- newContext == currentContext ifTrue: [
- newContext := interruptedProcess stepToSendOrReturn].
  self contextStackIndex > 1
  ifTrue: [self resetContext: newContext]
+ ifFalse:
+ [newContext == currentContext
- ifFalse: [newContext == currentContext
  ifTrue: [self changed: #contentsSelection.
  self updateInspectors]
  ifFalse: [self resetContext: newContext]].
  !