I suppose you put "self halt." ?
Envoyé de mon iPhone
Le 2014-11-26 à 12:42, dnorton@mindspring.com a écrit :
Hi Casey,
The target is Browser, which does not override the method. The hierarchy is: ProtoObject, Object, Model, StringHolder (has the method), CodeHolder, Browser, et seq.
I put the halt in StringHolder>>perform:orSendTo: and that didn't bring up the debugger.
There are 13 implementers of perform:orSendTo: and I can put a halt in each one in order to start the research, but I don't understand why the hierarchy seems to be bypassed.
- Dan
Date: Tue, 25 Nov 2014 21:43:57 -0800 From: Casey Ransberger Subject: Re: [Newbies] accept (s) To: "dnorton@mindspring.com" , "A friendly place to get answers to even the most basic questions about Squeak."
Message-ID: 3B1C3417-8C08-4CB9-844B-E6D28A51C0F1@gmail.com Content-Type: text/plain; charset="us-ascii"
Hi Dan,
That doesn't sound quite right.
#perform:orSendTo: is probably overridden in Browser, but... have you looked to see if there's an implementation of it on Object or maybe ProtoObject or something like that?
I'm pretty sure that #perform: and cousins are usually general.
Not sure (on a cellphone) without looking at an actual running system, but try looking up the inheritance chain for another implementation of the same selector. That might help.
Let me know either way, when I get back to a real computer I'll look into it for you if you don't get it figured out by then.
Good hunting!
Casey
On Nov 25, 2014, at 5:30 PM, wrote:
An inspector for the menu item "accept (s)" reveals a selector of "#perform:orSendTo:" which is implemented in Browser.
I want to follow the code and I put a halt in "#perform:orSendTo:" but the debugger never opened. What gives?
- Dan
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
beginners@lists.squeakfoundation.org