On Mar 3, 6:11 pm, "Honza (Jan Odvarko)" <[email protected]> wrote: > On Mar 3, 5:14 pm, i-am-will <[email protected]> wrote:> Hi there, > > > I'm wondering if this is possible with Firebug (maybe with an plugin): > > > Scenario: > > Let's say I have a HTML page that contains some DIV's. Using JQuery I > > add some events on it might someone click on those divs. > > > Needed: > > 1. An ability to see what will happen if I click on a DIV. Just like I > > would see the onclick events on a html-tag. > > This is possible using Eventbug. This extension shows registered > events handlers for HTML element (there is additional Events side- > panel that shows event handlers for selected element in the HTML > panel).http://www.softwareishard.com/blog/firebug/eventbug-alpha-released/ > > > 2. An ability to enable some form of monitoring, so I can see what > > happend after I clicked the div. > > I know about console.trace(); But I mean something that can debug on > > the fly, so that if I would add 10 onclick events, I can see what is > > happening. > > Not sure if I understand correctly, but you could try "Log Events" > option that logs various events into the Console panel. Just switch to > the HTML panel, right click on specific element, set "Log Events" > option and see what is happening in the Console. > > Honza
Honza, For the first option Eventbug did the trick :) Hopefully it will scale to enterprise JQuery Apps, but this is at least the best start. What I've meant on the second issue: Something that let's you see what is happening. For example, what happens when I click on 'submit'. Most websites have some 'onsubmit' function that starts (as an easy example). Sometimes websites might have multiple scripts that respond (onclick) on something. The eventbug already helps here to view what will happen, but the thing I'm still looking for is some app that can tell me what already happened. Consider it like an accesslog: what happened while I was on a site and clicked on a button. A full stack-trace of functions that call on each other, just like Eclipse debugger tells you when you connect to a tomcat for example. -William -- 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.
