[Pharo-project] doSilently: not working?
Put a halt in SystemChangeNotifier >> #methodRemoved: aMethod selector: aSymbol inProtocol: protocol class: aClass Then evaluate: TestCase compile: 'foo'. TestCase removeSelectorSilently: #foo. And the halt stops.... I am doing something wrong? thanks -- Mariano http://marianopeck.wordpress.com
On Wed, Apr 18, 2012 at 10:20 AM, Mariano Martinez Peck < marianopeck@gmail.com> wrote:
Put a halt in SystemChangeNotifier >> #methodRemoved: aMethod selector: aSymbol inProtocol: protocol class: aClass
Then evaluate:
TestCase compile: 'foo'. TestCase removeSelectorSilently: #foo.
And the halt stops....
you mean there's no halt? That's what doSilently: is supposed to do, prevent notifications of programming events (add, change, remove et al). Right?
I am doing something wrong?
thanks
-- Mariano http://marianopeck.wordpress.com
-- best, Eliot
On Wed, Apr 18, 2012 at 9:03 PM, Eliot Miranda <eliot.miranda@gmail.com>wrote:
On Wed, Apr 18, 2012 at 10:20 AM, Mariano Martinez Peck < marianopeck@gmail.com> wrote:
Put a halt in SystemChangeNotifier >> #methodRemoved: aMethod selector: aSymbol inProtocol: protocol class: aClass
Then evaluate:
TestCase compile: 'foo'. TestCase removeSelectorSilently: #foo.
And the halt stops....
you mean there's no halt? That's what doSilently: is supposed to do, prevent notifications of programming events (add, change, remove et al). Right?
no, sorry, I meant that it *does* halt when (from what I understood), it shouldn't.
I am doing something wrong?
thanks
-- Mariano http://marianopeck.wordpress.com
-- best, Eliot
-- Mariano http://marianopeck.wordpress.com
On 18 April 2012 21:11, Mariano Martinez Peck <marianopeck@gmail.com> wrote:
On Wed, Apr 18, 2012 at 9:03 PM, Eliot Miranda <eliot.miranda@gmail.com> wrote:
On Wed, Apr 18, 2012 at 10:20 AM, Mariano Martinez Peck <marianopeck@gmail.com> wrote:
Put a halt in SystemChangeNotifier >> #methodRemoved: aMethod selector: aSymbol inProtocol: protocol class: aClass
Then evaluate:
TestCase compile: 'foo'. TestCase removeSelectorSilently: #foo.
And the halt stops....
you mean there's no halt? Â That's what doSilently: is supposed to do, prevent notifications of programming events (add, change, remove et al). Â Right?
no, sorry, I meant that it *does* halt when (from what I understood), it shouldn't.
the implementation of it is done so, that SystemChangeNotifier always receives those events, but if you in silent mode it doesn't broadcasts it to subscribers.
I am doing something wrong?
thanks
-- Mariano http://marianopeck.wordpress.com
-- best, Eliot
-- Mariano http://marianopeck.wordpress.com
-- Best regards, Igor Stasenko.
On Wed, Apr 18, 2012 at 9:15 PM, Igor Stasenko <siguctua@gmail.com> wrote:
On 18 April 2012 21:11, Mariano Martinez Peck <marianopeck@gmail.com> wrote:
On Wed, Apr 18, 2012 at 9:03 PM, Eliot Miranda <eliot.miranda@gmail.com> wrote:
On Wed, Apr 18, 2012 at 10:20 AM, Mariano Martinez Peck <marianopeck@gmail.com> wrote:
Put a halt in SystemChangeNotifier >> #methodRemoved: aMethod selector: aSymbol inProtocol: protocol class: aClass
Then evaluate:
TestCase compile: 'foo'. TestCase removeSelectorSilently: #foo.
And the halt stops....
you mean there's no halt? That's what doSilently: is supposed to do, prevent notifications of programming events (add, change, remove et al). Right?
no, sorry, I meant that it *does* halt when (from what I understood), it shouldn't.
the implementation of it is done so, that SystemChangeNotifier always receives those events, but if you in silent mode it doesn't broadcasts it to subscribers.
Thanks Igor. I noticed that later on. It seems I was confusing the system somehow.
I am doing something wrong?
thanks
-- Mariano http://marianopeck.wordpress.com
-- best, Eliot
-- Mariano http://marianopeck.wordpress.com
-- Best regards, Igor Stasenko.
-- Mariano http://marianopeck.wordpress.com
On 18 April 2012 21:03, Eliot Miranda <eliot.miranda@gmail.com> wrote:
On Wed, Apr 18, 2012 at 10:20 AM, Mariano Martinez Peck <marianopeck@gmail.com> wrote:
Put a halt in SystemChangeNotifier >> #methodRemoved: aMethod selector: aSymbol inProtocol: protocol class: aClass
Then evaluate:
TestCase compile: 'foo'. TestCase removeSelectorSilently: #foo.
And the halt stops....
you mean there's no halt? Â That's what doSilently: is supposed to do, prevent notifications of programming events (add, change, remove et al). Â Right?
yep
I am doing something wrong?
thanks
-- Mariano http://marianopeck.wordpress.com
-- best, Eliot
-- Best regards, Igor Stasenko.
participants (3)
-
Eliot Miranda -
Igor Stasenko -
Mariano Martinez Peck