[squeak-dev] The Trunk: Tools-eem.1104.mcz

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Thu Jan 13 18:26:21 UTC 2022


I have a message trace here with no message selected, but the menu can be opened anyway without an error:


[cid:c5f989b7-ecf6-4563-9bd0-b83ac19de653]

[cid:dd00b434-b343-418a-be70-407a37167daf] [cid:41ea8bf6-0191-400f-873d-721f4c4ab0ce]


Under which circumstances did this error occur? :-)


Best,

Christoph

________________________________
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von commits at source.squeak.org <commits at source.squeak.org>
Gesendet: Donnerstag, 13. Januar 2022 19:21:13
An: squeak-dev at lists.squeakfoundation.org; packages at lists.squeakfoundation.org
Betreff: [squeak-dev] The Trunk: Tools-eem.1104.mcz

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

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

Name: Tools-eem.1104
Author: eem
Time: 13 January 2022, 10:21:10.513361 am
UUID: 1d051d8d-473d-43ee-9628-d33992a5849f
Ancestors: Tools-mt.1103

Fix MNU in menu building for MessageTrace with no method selected

=============== Diff against Tools-mt.1103 ===============

Item was changed:
  ----- Method: CodeHolder>>isBreakOnEntry (in category 'breakpoints') -----
  isBreakOnEntry

+        ^self selectedClassOrMetaClass
+                ifNil: [false]
+                ifNotNil:
+                        [:class|
+                         (class
+                                        compiledMethodAt: self selectedMessageName
+                                        ifAbsent: nil)
+                                ifNil: [false]
+                                ifNotNil: [:method| method hasBreakpoint]]!
-        | selectedMethod |
-        selectedMethod := self selectedClassOrMetaClass
-                compiledMethodAt: self selectedMessageName
-                ifAbsent: [^ false].
-        ^ selectedMethod hasBreakpoint!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220113/68aa1aee/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedImage.png
Type: image/png
Size: 4074 bytes
Desc: pastedImage.png
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220113/68aa1aee/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedImage.png
Type: image/png
Size: 18275 bytes
Desc: pastedImage.png
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220113/68aa1aee/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedImage.png
Type: image/png
Size: 15326 bytes
Desc: pastedImage.png
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220113/68aa1aee/attachment-0002.png>


More information about the Squeak-dev mailing list