Re: [Pharo-users] gettings real senders

2015-08-10 Thread Peter Uhnák
> > You can't search invocations of a particular "class>>method". So if I understand there's no direct way to do it, and I need to traverse the AST and do a static analysis. Unfortunately adding logging will work only if I know that all the senders will actually send the message, which is defini

Re: [Pharo-users] gettings real senders

2015-08-08 Thread Mariano Martinez Peck
What I do in that case is that I select the text "WriteStream on:" and "method source with it". But of course, a class side search would be nice. On Sat, Aug 8, 2015 at 10:07 PM, Ben Coman wrote: > On Sun, Aug 9, 2015 at 3:25 AM, Peter Uhnák wrote: > > So there's method CompiledMethod>>senders,

Re: [Pharo-users] gettings real senders

2015-08-08 Thread Ben Coman
On Sun, Aug 9, 2015 at 3:25 AM, Peter Uhnák wrote: > So there's method CompiledMethod>>senders, > but the problem is that it just looks for the message symbol and not class. > > so for example: > ~ > (WriteStream>>on:) senders > ~ > will also include Object>

[Pharo-users] gettings real senders

2015-08-08 Thread Peter Uhnák
So there's method CompiledMethod>>senders, but the problem is that it just looks for the message symbol and not class. so for example: ~ (WriteStream>>on:) senders ~ will also include Object>>asBrick Object>>asBrick ^ GLMMorphBrick on: self asMorph because