[squeak-dev] The Inbox: Morphic-ct.1635.mcz

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Sat Feb 29 11:52:40 UTC 2020


> Hm, should we maybe define #setErrorOnStep as a method stub on Object?


As an alternative to further dependencies from Kernel to Morphic, we could also define a trait TMorphicStepper. Opinions about this? :-)

________________________________
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von Thiede, Christoph
Gesendet: Samstag, 29. Februar 2020 12:41:25
An: squeak-dev at lists.squeakfoundation.org
Betreff: Re: [squeak-dev] The Inbox: Morphic-ct.1635.mcz


Ah yes, maybe I should add a section about the motivation of this commit:


#errorOnStep is still existing in the system; if the property is set, you can resume stepping over the debug menu of the failing morph. It would be nice if this worked again.

<http://www.hpi.de/>
________________________________
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von commits at source.squeak.org <commits at source.squeak.org>
Gesendet: Samstag, 29. Februar 2020 12:39:20
An: squeak-dev at lists.squeakfoundation.org
Betreff: [squeak-dev] The Inbox: Morphic-ct.1635.mcz

Christoph Thiede uploaded a new version of Morphic to project The Inbox:
http://source.squeak.org/inbox/Morphic-ct.1635.mcz

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

Name: Morphic-ct.1635
Author: ct
Time: 29 February 2020, 12:39:08.00383 pm
UUID: 1d028c27-ec3c-fd4f-924c-5c0372d0323e
Ancestors: Morphic-mt.1631

Proposal: Revive #errorOnStep detection. Introduce #setErrorOnStep to keep it (quite) easy to add non-morphic receivers into the steplist (such as ObjectExplorer). Hm, should we maybe define #setErrorOnStep as a method stub on Object?

=============== Diff against Morphic-mt.1631 ===============

Item was added:
+ ----- Method: Morph>>setErrorOnStep (in category 'WiW support') -----
+ setErrorOnStep
+
+        self setProperty: #errorOnStep toValue: true.!

Item was added:
+ ----- Method: StepMessage>>value: (in category 'evaluating') -----
+ value: anArgument
+
+        ^ [super value: anArgument]
+                ifCurtailed: [
+                        (self receiver respondsTo: #setErrorOnStep)
+                                ifTrue: [self receiver setErrorOnStep]]!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200229/209d40f5/attachment.html>


More information about the Squeak-dev mailing list