[Cuis-dev] Improve "debug action" for MVCMenuMorph
Facundo Javier Gelatti
javiergelatti at gmail.com
Sun Apr 5 12:38:25 PDT 2026
Hello again!
I noticed a similar issue also happens with some modal MenuMorphs (for
example, when trying to debug the action of clicking on an item of the font
selection menu), so I've changed MenuItemMorph to also account for that.
I attach two change sets: the one that says "Increment_ForModalMenuMorphs"
should be filed-in after the one on my first email; the one that says
"AllInOne" is a consolidated change set that includes everything, if you
want to just review that one directly.
Cheers!
Facu
El jue, 2 abr 2026 a las 16:01, Facundo Javier Gelatti (<
javiergelatti at gmail.com>) escribió:
> Hello!
>
> I attach some changes to improve the "debug action" option for the
> MVCMenuMorph. It's a bit ad-hoc, but I think it's encapsulated enough (all
> the changes are in MenuItemMorph) and it gets the job done. Below I explain
> the use case.
>
> Say that you want to debug what happens when you try to browse this change
> set. After you drop the file, you could use the "debug action" option on
> the halo of the "browse code" item:
> [image: image.png]
>
> But if you do that, you'll notice that you end up in the #selectMVCItem:
> method, unable to see the actual code you were interested in. After you
> file-in this change, you correctly end up on the #fileNamedDropped: method.
>
> Cheers!
> Facu
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260405/56856746/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 81010 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260405/56856746/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7852-CuisCore-FacundoJavierGelatti-ImproveDebugAction_Increment_ForModalMenuMorphs.cs.st
Type: application/vnd.sailingtracker.track
Size: 2660 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260405/56856746/attachment-0002.st>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7852-CuisCore-FacundoJavierGelatti-ImproveDebugAction-AllInOne.cs.st
Type: application/vnd.sailingtracker.track
Size: 2368 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260405/56856746/attachment-0003.st>
More information about the Cuis-dev
mailing list