What I am looking for is actually a little bit different from an ordinary conditional break. What I want to do is to automatically pause at certain event handlers, e.g., a key press event, without explicitly identifying the location of the event handlers function. This is interesting in cases where the whole JS file is obfuscated so that it is hard to find the handler's entry point. Another use case motivating this debugging feature is that sometimes you may want the program to pause whenever the XMLHttpRequest send() is invoked, while it might be tedious to exhaust every appearance of the send() function call.
--- Canny On Jun 26, 2:44 pm, Kara Rawson <[email protected]> wrote: > Canny wrote: > > Hi guys, > > > I am fresh to this charming web application debugging tool. But after > > some study, I still can't find a way to setup breakpoints in JS file > > so that every time certain event is triggered, the execution will > > pause there in debugging mode. Is this really possible with Firebug? > > > Thanks, > > Canny > > go to the script tab, select the resource you wanna debugg, then click > all the way on the left of the line number of the line you wana break. > if you click the breakpoints tab on the panel to the right of this you > will see an itemized list of break points, you can also click on watch > tab to set watches on specifc classes, functions or class members > (variables). > > kara --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
