Yes, we have work on an "Events" panel extension to list all of the
event listeners on a web page and give the elements they are bound to.
We hope to have this in Firebug 1.5 with Firefox 3.2.  It requires new
C++ code.

jjb

On Feb 9, 3:22 am, ColinFine <[email protected]> wrote:
> Is there a way to get Firebug to list all the current observes?  I am
> imagining something like
>
> element      event         handler
> document   keypress    myClass.myKeypress    myclass.js line 222
> div.fred      keypress     pressFred                     mypage.html
> line 1234
> div.fred      click            "selectFred(this)"          mypage.html
> line 1250
>
> and so on.
>
> I have 
> readhttp://groups.google.com/group/firebug/browse_thread/thread/5741229b3...,
> and I understand that event handlers set in HTML are not evaluated
> until triggered: I don't see why the handler text could not be found
> and shown in the above; but even if this is not possible, a facility
> that worked only for handlers set by 'addEventListener' would still be
> useful.
>
> 'Log events' is useful, but tends to produce a great deal of data, and
> you have to know which elements to watch in the first place: what I
> would like is a way of saying "at this point in my script's execution,
> these are the events it is listening for".
>
> I don't suppose there is a way of getting this at present; but is it
> something that might be provided in the future?
>
> Colin Fine
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to