<div dir="ltr"><div dir="ltr">On Fri, Mar 3, 2023 at 6:19 PM Eduardo Ochs <<a href="mailto:eduardoochs@gmail.com">eduardoochs@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi all,<br><br>short version of my question:<br><br>  How do I use MenuItemMorph>>#debugAction?<br></div></blockquote><div><br></div><div>If you browse the senders of this, you will see that certain morphs add this to their debug menu. One of them is MenuItemMorph.</div><div><br></div><div><font face="arial, sans-serif"><b style="color:rgb(0,0,0)">buildDebugMenu:</b><font color="#000000" style="text-size-adjust: auto;"><span class="gmail-Apple-converted-space"> </span></font><font color="#000080" style="text-size-adjust: auto;">aHandMorph</font><font color="#000000" style="text-size-adjust: auto;"><br>    </font><font color="#808080" style="text-size-adjust: auto;">|</font><font color="#000000" style="text-size-adjust: auto;"><span class="gmail-Apple-converted-space"> </span></font><font color="#6B6B6B" style="text-size-adjust: auto;">aMenu</font><font color="#000000" style="text-size-adjust: auto;"><span class="gmail-Apple-converted-space"> </span></font><font color="#808080" style="text-size-adjust: auto;">|</font><font color="#000000" style="text-size-adjust: auto;"><br>    </font><font color="#6B6B6B" style="text-size-adjust: auto;">aMenu</font><font color="#000000" style="text-size-adjust: auto;"><span class="gmail-Apple-converted-space"> </span></font><b style="color:rgb(0,0,0)">:=</b><font color="#000000" style="text-size-adjust: auto;"><span class="gmail-Apple-converted-space"> </span></font><font color="#800000" style="text-size-adjust: auto;">super</font><font color="#000000" style="text-size-adjust: auto;"><span class="gmail-Apple-converted-space"> </span></font><font color="#000080" style="text-size-adjust: auto;">buildDebugMenu:</font><font color="#000000" style="text-size-adjust: auto;"><span class="gmail-Apple-converted-space"> </span></font><font color="#000080" style="text-size-adjust: auto;">aHandMorph</font><font color="#000000" style="text-size-adjust: auto;">.</font><font color="#000000" style="text-size-adjust: auto;"><br>    </font><font color="#6B6B6B" style="text-size-adjust: auto;">aMenu</font><font color="#000000" style="text-size-adjust: auto;"><span class="gmail-Apple-converted-space"> </span></font><font color="#000080" style="text-size-adjust: auto;">addLine</font><font color="#000000" style="text-size-adjust: auto;">.</font><font color="#000000" style="text-size-adjust: auto;"><br>    </font><font color="#6B6B6B" style="text-size-adjust: auto;">aMenu</font><font color="#000000" style="text-size-adjust: auto;"><span class="gmail-Apple-converted-space"> </span></font><font color="#000080" style="text-size-adjust: auto;">add:</font><font color="#000000" style="text-size-adjust: auto;"><span class="gmail-Apple-converted-space"> </span></font><font color="#800080" style="text-size-adjust: auto;">'browse action code'</font><font color="#000000" style="text-size-adjust: auto;"><span class="gmail-Apple-converted-space"> </span></font><font color="#000080" style="text-size-adjust: auto;">translated</font><font color="#000000" style="text-size-adjust: auto;"><span class="gmail-Apple-converted-space"> </span></font><font color="#000080" style="text-size-adjust: auto;">target:</font><font color="#000000" style="text-size-adjust: auto;"><span class="gmail-Apple-converted-space"> </span></font><font color="#800000" style="text-size-adjust: auto;">self</font><font color="#000000" style="text-size-adjust: auto;"><span class="gmail-Apple-converted-space"> </span></font><font color="#000080" style="text-size-adjust: auto;">action:</font><font color="#000000" style="text-size-adjust: auto;"><span class="gmail-Apple-converted-space"> </span></font><font color="#000080" style="text-size-adjust: auto;">#browseImplementationOfActionSelector</font><font color="#000000" style="text-size-adjust: auto;">.</font><font color="#000000" style="text-size-adjust: auto;"><br>    </font><font color="#6B6B6B" style="text-size-adjust: auto;">aMenu</font><font color="#000000" style="text-size-adjust: auto;"><span class="gmail-Apple-converted-space"> </span></font><font color="#000080" style="text-size-adjust: auto;">add:</font><font color="#000000" style="text-size-adjust: auto;"><span class="gmail-Apple-converted-space"> </span></font><font color="#800080" style="text-size-adjust: auto;">'debug action invocation'</font><font color="#000000" style="text-size-adjust: auto;"><span class="gmail-Apple-converted-space"> </span></font><font color="#000080" style="text-size-adjust: auto;">translated</font><font color="#000000" style="text-size-adjust: auto;"><span class="gmail-Apple-converted-space"> </span></font><font color="#000080" style="text-size-adjust: auto;">target:</font><font color="#000000" style="text-size-adjust: auto;"><span class="gmail-Apple-converted-space"> </span></font><font color="#800000" style="text-size-adjust: auto;">self</font><font color="#000000" style="text-size-adjust: auto;"><span class="gmail-Apple-converted-space"> </span></font><font color="#000080" style="text-size-adjust: auto;">action:</font><font color="#000000" style="text-size-adjust: auto;"><span class="gmail-Apple-converted-space"> </span></font><font color="#000080" style="text-size-adjust: auto;">#debugAction</font><font color="#000000" style="text-size-adjust: auto;">.</font><font color="#000000" style="text-size-adjust: auto;"><br>    </font><font color="#800000" style="text-size-adjust: auto;">^</font><font color="#000000" style="text-size-adjust: auto;"><span class="gmail-Apple-converted-space"> </span></font><font color="#6B6B6B" style="text-size-adjust: auto;">aMenu</font><br></font></div><div><font color="#6B6B6B" style="font-family:-webkit-standard"><br></font></div><div>So basically you bring up the halo for a menu item (bring up halo for menu, then click again for halo of item), click the red halo handle to get the morph's menu:</div><div><br></div><div><img src="cid:ii_letd1hgb1" alt="image.png" width="223" height="150" style="margin-right: 0px;"><br></div><div><br></div><div>At the bottom of its the debug submenu you will fine the debug action entry:   </div><div><br></div><div><img src="cid:ii_letd1yiy2" alt="image.png" width="184" height="224" style="margin-right: 0px;"><br></div><div><br></div><div>Vanessa</div></div></div>