The source known to Firebug are in context.sourceFileMap. Try FBTrace with SOURCEFILES on to see when this map is built.
jjb On Mar 18, 10:39 pm, Zhou Li <[email protected]> wrote: > Uh, it is not the problem with firebug. Actually I want to build a > firebug extension. It will get all the script in one page and do > analysis work. > > On Mar 18, 10:50 am, johnjbarton <[email protected]> wrote: > > > I can't figure out what you are asking. If your problem is with > > Firebug, perhaps you can rephrase your question in terms of things in > > Firebug panel views. What are you seeing that you want to change and > > how? > > jjb > > > On Mar 17, 11:02 pm, Zhou Li <[email protected]> wrote: > > > > Hi, all, > > > > I'm dealing with problem now. Considering such a page: > > > > a.html > > > ... > > > <script> > > > function a() { > > > alert("a");} > > > > </script> > > > <script src="b.js"> > > > </script> > > > ... > > > > b.js > > > function b() { > > > alert("b"); > > > > } > > > > I think the script executed in a.html is actually > > > function a() { > > > alert("a");} > > > > function b() { > > > alert("b");} > > > > Is there a way to get the source code like this? > > > > BTW, I also found out that if > > > b.js is > > > function a() { > > > alert("b");} > > > > the javascript function in a.thml will be overrided. > > > and the javascript text will be > > > function a() { > > > alert("b");} > > > > for a.html rather than previous one. > > > > So, the overrided problem should also be taken into account. Any > > > thoughts? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
