Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

firebug script debugger not showing current page javascript sometimes

  • 2 svar
  • 5 har detta problem
  • 17 visningar
  • Senaste svar av iqworks

more options

When i load the page i want to debug. i click the firebug icon and firebug appears ok. i click the script tab and i am asked to "Reload to see all sources". I do the reload and most of the time i see the inline javascript and the html of the currently loaded page. There are times when i go through this process and i DONT see the current page html and inline javascript, instead, i see most of the other javascript FILES associated with the loaded page. i cannot figure out how to get my currently loaded page and its inline javascript to appear again. i clear the cache, restart firefox, reset options?

Also, when i click the list to see the javascript files and pages, I dont see my currently loaded page listed. But, when i AM able to "Reload to see all sources" and my current page html and inline javascript appears, THEN it is included in the list. 

Not sure what i need to do here?

When i load the page i want to debug. i click the firebug icon and firebug appears ok. i click the script tab and i am asked to "Reload to see all sources". I do the reload and most of the time i see the inline javascript and the html of the currently loaded page. There are times when i go through this process and i DONT see the current page html and inline javascript, instead, i see most of the other javascript FILES associated with the loaded page. i cannot figure out how to get my currently loaded page and its inline javascript to appear again. i clear the cache, restart firefox, reset options? Also, when i click the list to see the javascript files and pages, I dont see my currently loaded page listed. But, when i AM able to "Reload to see all sources" and my current page html and inline javascript appears, THEN it is included in the list. Not sure what i need to do here?

Alla svar (2)

more options

OK, i think i found one answer - my current page had an error in its inline javascript. Once I fixed the error and called up firebug and reloaded the current page, i could see my current page show up in the script debugger list and panel. If there is anyway i can configure the firebug debugger to DEBUG my current page when i initially call it up in the firebug debugger with an inline error, that would be great. Instead, it just dosnt display it and dosnt tell you why. Funny, it displays so many messages and options for debugging everything else. Must be some configuration i am not seeing. Or is this a bug?

more options

Found my answer. Next time my current page does not display, or I have issues calling up the current page, i need to "Ctrl/Shift/J". When i did this, the Error console appeared and inside of it I could see the error clearly spelled out. Thanks firebug!!!