<div dir="ltr">Marcel, thank you!</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 26, 2018 at 11:08 AM, Marcel Taeumel <span dir="ltr"><<a href="mailto:marcel.taeumel@hpi.de" target="_blank">marcel.taeumel@hpi.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id="m_6991376633377025748__MailbirdStyleContent" style="font-size:12pt;font-family:calibri;color:#000000">
                                        
                                        
                                            
                                        
                                        
                                        Hi Eliot,<div><br></div><div>like this if you hit [SHIFT]+[YELLOW]?</div><div><br></div><div><img src="cid:052c79da-8a22-4047-975e-c51f5becdfaf" width="auto"></div><div><br></div><div>... and implement this?</div><div><br></div><div><div>Object >> inspectorMenu: aMenu for: anInspector</div><div><span class="m_6991376633377025748Apple-tab-span" style="white-space:pre-wrap">   </span>"Can extend the inspector menu."</div><div><br></div><div><span class="m_6991376633377025748Apple-tab-span" style="white-space:pre-wrap">        </span>Smalltalk isMorphic ifFalse: [^ self].</div><div><br></div><div><span class="m_6991376633377025748Apple-tab-span" style="white-space:pre-wrap">    </span>aMenu</div><div><span class="m_6991376633377025748Apple-tab-span" style="white-space:pre-wrap">              </span>add: 'Dance ', self printString</div><div><span class="m_6991376633377025748Apple-tab-span" style="white-space:pre-wrap">            </span>target: self</div><div><span class="m_6991376633377025748Apple-tab-span" style="white-space:pre-wrap">               </span>selector: #explore.</div></div><div><br></div><div>Well, please find attached a change set. Have fun! ;-)</div><div><br></div><div>Best,</div><div>Marcel</div><div><div class="h5"><div class="m_6991376633377025748mb_sig"></div>
                                        
                                        <blockquote class="m_6991376633377025748history_container" type="cite" style="border-left-style:solid;border-width:1px;margin-top:20px;margin-left:0px;padding-left:10px;min-width:500px">
                        <p style="color:#aaaaaa;margin-top:10px">Am 26.01.2018 18:36:23 schrieb Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@gmail.com</a>>:</p>
<div dir="ltr">Hi All,<div><br></div><div>    I'm lazy and also I don't write the most elegant UI code but I had an idea I want realized so I thought I'd see if I could interest anyone in implementing it.  Dora is doing amazing work with the Moldable Debugger but this is a poor man's alternative that can get us a lot of benefit.</div><div><br></div><div>In the JIT I find myself wanting to run a number of doit while debugging to print out information, change virtual breakpoint locations (where a variable is tested and if the JIT is at the right point halt is sent)  etc.  Typically one has to type these into the receiver inspector in the bottom left of the debugger.  Having some strings in the paste buffer helps in not typing them but one has to load the paste buffer at least once before a debugging session and its tedious.</div><div><br></div><div>I modified the inspectors in VMMaker already so that one can choose the default base used to display numbers because hexadecimal is much more useful in looking at machine code, the GC, object headers, etc.  So how about this...</div><div><br></div><div>A class may implement something like receiverMenuForDebugging, either on the instance or the class side.  Whenever the receiver inspector is asked to open up the yellow/middle button menu on its list it checks for the presence of receiverMenuForDebugging and adds this as a submenu being the first item in the menu.  So one can write all the application specific snippets one wants and invoke them quickly and conveniently from this menu.</div><div><br></div><div>Anyone interested in implementing this?  It would make my day, hell it would make my month, and make my year so much nicer :-).</div><div><br><div class="m_6991376633377025748gmail_signature"><div dir="ltr"><div><span style="font-size:10pt;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div>
</div></div>

                        </blockquote></div></div></div><br><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div>
</div>