Firebug使用之一--Console Panel
The console panel offers a JavaScript command line, lists all kinds of messages and offers a profiler for JavaScript commands.
Contents [hide] 1Options Menu2Panel Toolbar 2.1Break On All Errors2.2Clear2.3Persist2.4Profile2.5Filter buttons 3Command Line 3.1Command Editor3.2Smart paste 4Console 4.1Click functionality4.2Profiling 5See also [edit]Options MenuThis menu is reachable via the little arrow in the panel tab () or by right-clicking on on the panel tab (sinceFirebug 1.9).
extensions.firebug.console.enableSites
Enables the Console Panel Disabled extensions.firebug.console.enableSites
Disables the Console Panel Show JavaScript Errors extensions.firebug.showJSErrors
Toggles logging of JavaScript error messages into the console Show JavaScript Warnings extensions.firebug.showJSWarnings
Toggles logging of JavaScript warning messages into the console Show CSS Errors extensions.firebug.showCSSErrors
Toggles logging of CSS error messages into the console Show XML/HTML Errors extensions.firebug.showXMLErrors
Toggles logging of XML and HTML error messages into the console Show XMLHttpRequests extensions.firebug.showXMLHttpRequests
Toggles logging of XMLHttpRequests into the console; see theNet Panelfor more info Show Chrome Errors extensions.firebug.showChromeErrors
Toggles logging of program and add-on internal error messages into the console Show Chrome Messages extensions.firebug.showChromeMessages
Toggles logging of program and add-on internal messages into the console Show External Errors extensions.firebug.showExternalErrors
Toggles logging of external error messages into the console Show Network Errors extensions.firebug.showNetworkErrors
Toggles logging of network error messages into the console Show Stack Trace With Errors extensions.firebug.service.showStackTrace
Toggles the inclusion of the stack trace for error messages Show Cookie Events extensions.firebug.cookies.logEvents
Toggles logging of cookie events into the console; see theCookies Panelfor more info Strict Warnings (performance penalty) javascript.options.strict
Toggles logging of strict warnings into the console Command Editor extensions.firebug.commandEditor
Toggles between theCommand Lineand theCommand Editor Show Completion List Popup extensions.firebug.commandLineShowCompleterPopup
Toggles the auto-completion of commands while typing For more info about tweaks available in Firebug please see thefull list of preferences.
[edit]Panel Toolbar [edit]Break On All ErrorsAs with some of the other panels the console panel offers a "Break On ..." feature. In this case it's "Break On All Errors" (), which means that as soon as an error occurs the script execution is stopped.
[edit]ClearClears the console by removing all messages from the output.
[edit]PersistThis option prevents clearing the console when a page is reloaded. Thus all messages will stay inside the console as long as this option is enabled.
[edit]ProfileEnabling this option lets you profile JavaScript activity. For more info about this feature see theProfilingsection.
[edit]Filter buttonsThere are different buttons allowing you to filter the display of messages logged to the console:
You can also select multiple filters by holding downCtrl
/
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。