Debugging announcements

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Debugging announcements

Ben Coman
How are Announcements currently debugged?  I vaguely remember I was
once able to use AnnouncementSpy [1], but that seems not in Pharo5
anymore.  Anyway, I'd rather avoid having to hunt within existing for
a particular announcer to observe. What I'd really like is something
like...

    RubTextAcceptRequest spy

...to be able to observe anySuchAnnouncement in anyAnnouncer.

[1] http://pharo.gemtalksystems.com/book/LanguageAndLibraries/announcements/announcementspy/?_s=t9KcItW3v2fHASKr&_k=RRP9iYDxQLUO6DCy&_n&27

cheers -ben

Reply | Threaded
Open this post in threaded view
|

Re: Debugging announcements

Peter Uhnak
You can inspect Announcer and then there's "Announcements" tab, however I don't think there's unified view.

On Mon, Aug 10, 2015 at 4:30 PM, Ben Coman <[hidden email]> wrote:
How are Announcements currently debugged?  I vaguely remember I was
once able to use AnnouncementSpy [1], but that seems not in Pharo5
anymore.  Anyway, I'd rather avoid having to hunt within existing for
a particular announcer to observe. What I'd really like is something
like...

    RubTextAcceptRequest spy

...to be able to observe anySuchAnnouncement in anyAnnouncer.

[1] http://pharo.gemtalksystems.com/book/LanguageAndLibraries/announcements/announcementspy/?_s=t9KcItW3v2fHASKr&_k=RRP9iYDxQLUO6DCy&_n&27

cheers -ben


Reply | Threaded
Open this post in threaded view
|

Re: Debugging announcements

stepharo
In reply to this post by Ben Coman
to me this is a problem to debug and identify all these event system
based on registration.

Le 10/8/15 16:30, Ben Coman a écrit :

> How are Announcements currently debugged?  I vaguely remember I was
> once able to use AnnouncementSpy [1], but that seems not in Pharo5
> anymore.  Anyway, I'd rather avoid having to hunt within existing for
> a particular announcer to observe. What I'd really like is something
> like...
>
>      RubTextAcceptRequest spy
>
> ...to be able to observe anySuchAnnouncement in anyAnnouncer.
>
> [1] http://pharo.gemtalksystems.com/book/LanguageAndLibraries/announcements/announcementspy/?_s=t9KcItW3v2fHASKr&_k=RRP9iYDxQLUO6DCy&_n&27
>
> cheers -ben
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Debugging announcements

Peter Uhnak
I remembered reading this some time ago http://www.humane-assessment.com/stories/rogue-announcements/
Maybe it will be of help.

Peter

On Mon, Aug 10, 2015 at 10:01 PM, stepharo <[hidden email]> wrote:
to me this is a problem to debug and identify all these event system based on registration.

Le 10/8/15 16:30, Ben Coman a écrit :

How are Announcements currently debugged?  I vaguely remember I was
once able to use AnnouncementSpy [1], but that seems not in Pharo5
anymore.  Anyway, I'd rather avoid having to hunt within existing for
a particular announcer to observe. What I'd really like is something
like...

     RubTextAcceptRequest spy

...to be able to observe anySuchAnnouncement in anyAnnouncer.

[1] http://pharo.gemtalksystems.com/book/LanguageAndLibraries/announcements/announcementspy/?_s=t9KcItW3v2fHASKr&_k=RRP9iYDxQLUO6DCy&_n&27

cheers -ben