I'm not sure what kind of luck you'll have with repro, since I have a kind of specific environment set up (selenium) for using it with, but you're welcome to try.
The code for the workhorse is here (for the next month): http://pastebin.com/PNZ4adnZ The rest of the xpi is here (until it's no longer needed): https://www.box.com/s/43b2881a1a66fd3acd85 You will need a page that causes the net panel to populate and also has an element with an id of "hopstats" (as this is the element that will be populated with the net urls). The following HTML will display an ad (to populate the net panel) and a textarea with the appropriate id. http://pastebin.com/Eu9SeDy6 Furthermore, you will need to have firebug open and opened to the net panel. Ideally, the textarea should be populated with the urls from the net panel on page load. In my selenium environment, the extension runs fine on first load, but after about 18 page reloads, it calls it quits altogether. When I try in a normal firefox instance, it seems like the onLoad part doesn't trigger. It also adds a "Url Quality" button to the net panel to manually trigger it. On further investigation, I realized that in the selenium environment, the manual button still works, so it looks like it's just the "on page load" part that's breaking. Two things to note: 1) I have upgraded to firebug 1.10b3 and the problem persists 2) This definitely seems error related, and not just me using onLoad wrong (although I may be doing that as well), because when I replace line 58 with something obviously erroneous, like: populate,Quality(,?: f,uncti,on(,anel,, tar,et) {,},{}{}}} I still don't see any errors. On Friday, July 6, 2012 3:02:06 PM UTC-4, Jan Honza Odvarko wrote: > > > > On Jul 6, 5:37 pm, Casey Boone <[email protected]> wrote: > > On Friday, July 6, 2012 2:57:21 AM UTC-4, Jan Honza Odvarko wrote: > > > > > On Jul 5, 8:59 pm, Casey Boone <[email protected]> wrote: > > > > Hi guys, I'm a little new to this, so forgive my ignorance, but this > > > should > > > > be an easy one for you. > > > > > > I wrote a little firebug extension somewhat similar to NetExport. It > > > works > > > > most of the time, but then I notice that it silently stops working > after > > > a > > > > few uses, like it's started erroring silently. How do I see the > errors > > > that > > > > it's producing? > > > > > > It behaves similarly if I make it intentionally error (bad syntax, > > > > whatever), it'll just always silently fail, and I don't know how to > see > > > the > > > > errors. I don't see them in the Console, and I installed FBTrace and > I > > > > don't see anything there. > > > Did you check DBG_ERRORS option in the FBTrace console? > > > Did you try Firefox Error Console? > > > > > Honza > > > > > > Thanks in advance. > > > > Hi Honza. Thanks for the feedback. > > I tried DBG_ERRORS, and it's more verbose now, showing 6 errors, but > > they're all firebug errors, and not errors in my extension (my extension > > continues to work through those errors, and later, fails, still > silently). > > Firefox Error Console is reporting nothing as the extension fails. > > > > Here's FBTrace's 6 new errors: > http://postimage.org/image/7eie2la4l/http://postimage.org/image/7lbnsrjhn/ > > > > But again, they occur a little while before my extension starts failing, > so > > it seems like they're not relevant. > > > > I'm using firebug-1.10.0a11.xpi > Is your extension available online so, I can try to repro the problem > on my machine? > Honza > -- 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 https://groups.google.com/forum/#!forum/firebug
