I'm glad that Firebug finally adds keyboard shortcut to deactivate (rather than simply minimize) Firebug: Shift+F12.
However, I do not find a way to customize it. Will this be added to in the future versions?
BTW, how much overhead is it to leave Firebug active for all websites, in compare to deactivate Firebug by default and only activate it when I use? If Firebug consumes much CPU and memory, I have to deactivate it all the time.
As long as Firebug is deactivated for a website the overhead is minimal (it's just checking, if it should be activated for the website).
As long as Firebug is deactivated for a website the overhead is minimal (it's just checking, if it should be activated for the website).Really? I was under the impression that JSD activation was global, so that Firebug slows the whole browser down even if it is only active in a single tab. This commit and related issues comes to mind, but I then don't actually know that code.
Simon is right, JSD is global so, if it's active it has an impact on the whole browser (on all opened browser windows).
Simon is right, JSD is global so, if it's active it has an impact on the whole browser (on all opened browser windows).I guess "active" means halted at a breakpoint?
E.g. if I set a breakpoint inside a function called via setTimeout() and switch to another tab while the timeout is not finished yet, script execution won't stop. So I assume JSD is deactivated when you switch to another tab while script execution is not halted. Is that correct?
Sebastian
No, JSD is still on even if you switch to another tab.
No, JSD is still on even if you switch to another tab.Is there a reason why?
Also is JSD really producing that much overhead?
Sebastian
When you create an issue for it, then yes. :-)
On Wednesday, January 11, 2012 3:13:54 PM UTC+1, Sebo wrote:No, JSD is still on even if you switch to another tab.Is there a reason why?Yes, because Firebug could be active on another tab (and in another window).
Firebug is utilizing JSD.pause if Firebug is deactivated for the current site.Also is JSD really producing that much overhead?
Paused JSD should not produce that much overhead (recently fixed by Boris),
but I never tested it (but yes, still global).
On Wednesday, January 11, 2012 3:13:54 PM UTC+1, Sebo wrote:No, JSD is still on even if you switch to another tab.Is there a reason why?Yes, because Firebug could be active on another tab (and in another window).But while it's still active in another tab or window, what does JSD do in that tab?
Breaks currently don't happen while you're not at that tab. The Console panel should not use JSD by default.
On Thursday, January 12, 2012 8:15:52 AM UTC+1, Sebo wrote:On Wednesday, January 11, 2012 3:13:54 PM UTC+1, Sebo wrote:No, JSD is still on even if you switch to another tab.Is there a reason why?Yes, because Firebug could be active on another tab (and in another window).But while it's still active in another tab or window, what does JSD do in that tab?E.g. intercepting all new scripts that could be created.
If you switch off JSD, you loose all debugging script info and you need to reload the page to get it back.
Breaks currently don't happen while you're not at that tab. The Console panel should not use JSD by default.Console needs JSD due to: https://bugzilla.mozilla.org/show_bug.cgi?id=703519