<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 24, 2018 at 4:35 PM, Chris Cunningham <span dir="ltr"><<a href="mailto:cunningham.cb@gmail.com" target="_blank">cunningham.cb@gmail.com</a>></span> wrote:<br><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"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="gmail-">On Wed, Jan 24, 2018 at 4:31 PM, tim Rowledge <span dir="ltr"><<a href="mailto:tim@rowledge.org" target="_blank">tim@rowledge.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span><br>
> On 24-01-2018, at 4:25 PM, Tobias Pape <<a href="mailto:Das.Linux@gmx.de" target="_blank">Das.Linux@gmx.de</a>> wrote:<br>
><br>
> Hold your horses :D<br>
> It _is_ sent, indirectly, via:<br>
><br>
> openContext: aContext label: aString contents: contentsStringOrNil<br>
>       "Open a notifier in response to an error, halt, or notify. A notifier view just shows a short view of the sender stack and provides a menu that lets the user open a full debugger."<br>
><br>
>       ^ Project current<br>
>               dispatchTo: self<br>
>               addPrefixAndSend: #OpenContext:label:contents:<br>
>               withArguments: { aContext . aString . contentsStringOrNil }<br>
><br>
</span>> Which, in turn, is also sent…<br>
<br>
Good grief. What an excellent way to confuse our tools. Most definitely not a technique I’d ever suggest teaching.<br>
<span><br></span></blockquote></span><div>Nope.</div><div><br></div><div>Now, how to fix the sendersOf to detect something pathological like this...</div><div><br></div><div>cbc</div></div></div></div>
</blockquote></div><br></div><div class="gmail_extra">This would work:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">openContext: aContext label: aString contents: contentsStringOrNil</div><div class="gmail_extra"><span style="white-space:pre">        </span><calledMethods: #( morphicOpenContext:label:contents: mvcOpenContext:label:contents: ) ></div><div class="gmail_extra"><span style="white-space:pre">  </span>"Open a notifier in response to an error, halt, or notify. A notifier view just shows a short view of the sender stack and provides a menu that lets the user open a full debugger."</div><div class="gmail_extra"><br></div><div class="gmail_extra"><span style="white-space:pre">   </span>^ Project current</div><div class="gmail_extra"><span style="white-space:pre">               </span>dispatchTo: self</div><div class="gmail_extra"><span style="white-space:pre">                </span>addPrefixAndSend: #OpenContext:label:contents:</div><div class="gmail_extra"><span style="white-space:pre">          </span>withArguments: { aContext . aString . contentsStringOrNil }</div><div class="gmail_extra"><br></div><div class="gmail_extra">Then, also do this for the other siblings like this, as found in Project class>baseSelectors</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">baseSelectors</div><div class="gmail_extra"><span style="white-space:pre">        </span>"The list of known base selectors that may be dispatched to project specific</div><div class="gmail_extra"><span style="white-space:pre">       </span>implementations. For example, #OpenLabel:in: will be dispatched to #mvcOpenLabel:in:</div><div class="gmail_extra"><span style="white-space:pre">    </span>for its MVC specific implementation. Add new base selectors here if additional methods</div><div class="gmail_extra"><span style="white-space:pre">  </span>are added as targets of the dispatchTo:addPrefixAndSend:withArguments: mechanism."</div><div class="gmail_extra"><br></div><div class="gmail_extra"><span style="white-space:pre">  </span>^ {</div><div class="gmail_extra"><span style="white-space:pre">             </span>#StartUpLeftFlush .</div><div class="gmail_extra"><span style="white-space:pre">             </span>#StartUpWithCaption:icon:at:allowKeyboard: .</div><div class="gmail_extra"><span style="white-space:pre">            </span>#OpenLabel:in: .</div><div class="gmail_extra"><span style="white-space:pre">                </span>#Open: .</div><div class="gmail_extra"><span style="white-space:pre">                </span>#Open .</div><div class="gmail_extra"><span style="white-space:pre">         </span>#OpenOn:context:label:contents:fullView: .</div><div class="gmail_extra"><span style="white-space:pre">              </span>#ResumeProcess:</div><div class="gmail_extra"><span style="white-space:pre">         </span>}</div><div class="gmail_extra"><br></div><div class="gmail_extra">Downside (well, one of them) is that additional project classes are added, you'd need to then update the methods.  And remember to add in these funky messages as well, obviously.</div><div class="gmail_extra"><br></div><div class="gmail_extra">cbc</div></div></div></div>