网创优客建站品牌官网
为成都网站建设公司企业提供高品质网站建设
热线:028-86922220
成都专业网站建设公司

定制建站费用3500元

符合中小企业对网站设计、功能常规化式的企业展示型网站建设

成都品牌网站建设

品牌网站建设费用6000元

本套餐主要针对企业品牌型网站、中高端设计、前端互动体验...

成都商城网站建设

商城网站建设费用8000元

商城网站建设因基本功能的需求不同费用上面也有很大的差别...

成都微信网站建设

手机微信网站建站3000元

手机微信网站开发、微信官网、微信商城网站...

建站知识

当前位置:首页 > 建站知识

Firebug使用之一--ConsolePanel

Console Panel

Firebug使用之一--Console Panel
Firebug使用之一--Console Panel
Console Panel

The console panel offers a JavaScript command line, lists all kinds of messages and offers a profiler for JavaScript commands.

成都创新互联公司专注于保德企业网站建设,自适应网站建设,商城系统网站开发。保德网站建设公司,为保德等地区提供建站服务。全流程按需定制,专业设计,全程项目跟踪,成都创新互联公司专业和态度为您提供的服务

Contents

 [hide]
  • 1 Options Menu
  • 2 Panel Toolbar
    • 2.1 Break On All Errors
    • 2.2 Clear
    • 2.3 Persist
    • 2.4 Profile
    • 2.5 Filter buttons
  • 3 Command Line
    • 3.1 Command Editor
    • 3.2 Smart paste
  • 4 Console
    • 4.1 Click functionality
    • 4.2 Profiling
  • 5 See also

[edit]Options Menu

This menu is reachable via the little arrow in the panel tab ( Firebug使用之一--Console Panel ) or by right-clicking on on the panel tab (since Firebug 1.9).

Option Preference Description
Enabled 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 the Net Panel for 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 the Cookies Panel for more info
Strict Warnings (performance penalty) javascript.options.strict Toggles logging of strict warnings into the console
Command Editor extensions.firebug.commandEditor Toggles between the Command Line and the Command 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 the full list of preferences.

[edit]Panel Toolbar

[edit]Break On All Errors

As with some of the other panels the console panel offers a "Break On ..." feature. In this case it's "Break On All Errors" ( Firebug使用之一--Console Panel ), which means that as soon as an error occurs the script execution is stopped.

[edit]Clear

Clears the console by removing all messages from the output.

[edit]Persist

This 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]Profile

Enabling this option lets you profile JavaScript activity. For more info about this feature see the Profiling section.

[edit]Filter buttons

There are different buttons allowing you to filter the display of messages logged to the console:

Option Description
All Displays all messages
Errors Limits the display to error messages
Warnings Limits the display to warning messages
Info Limits the display to info messages
Debug Info Limits the display to debug info messages
Cookies Limits the display to cookie events

当前文章:Firebug使用之一--ConsolePanel
网页路径:http://bjjierui.cn/article/gooice.html