Use firebug to debug the Javascript performance analysis tool firebug. Console. Profile (title)

Source: Internet
Author: User
Tags xpath

Address: http://www.cnblogs.com/jsfans/archive/2011/03/28/1998119.html

Performance analysis tool firebug. Console. Profile (title)

1. Chapter 1 Javascript development

Command Line API
$ (ID)
$ (Selector)
$ X (XPath)
Dir (object)
Dirxml (node)
Clear ()
Inspect (object [, tabname])
Keys (object)
Values (object)
Debug (FN) and undebug (FN)
Monitor (function name) and unmonitor (function name)
Monitorevents (object [, Types])
Unmonitorevents (object [, Types])
Profile ([title]) and profileend ()
Console API
Console. Log (object [, objcet,...])
Console. debug (object [, object,...])
Console.info (object [, object,...])
Console. Warn (object [, object,...])
Console. Error (object [, object,...])
Console. Assert (expression [, object,...])
Console. dir (object)
Console. dirxml (node)
Console. Trace ()
Console. Group (object [, object,...])
Console. groupcollapsed (object [, object,...])
Console. groupend ()
Console. Time (name)
Console. timeend (name)
Console. Profile ([title])
Console. profileend ()
Console. Count ([title])
Javascript debugging
Single-step JavaScript debugging in firebug
Conditional breakpoint
Summary

End

Performance analysis tool firebug. Console. Profile (title)

1. Chapter 1 Javascript development

Command Line API
$ (ID)
$ (Selector)
$ X (XPath)
Dir (object)
Dirxml (node)
Clear ()
Inspect (object [, tabname])
Keys (object)
Values (object)
Debug (FN) and undebug (FN)
Monitor (function name) and unmonitor (function name)
Monitorevents (object [, Types])
Unmonitorevents (object [, Types])
Profile ([title]) and profileend ()
Console API
Console. Log (object [, objcet,...])
Console. debug (object [, object,...])
Console.info (object [, object,...])
Console. Warn (object [, object,...])
Console. Error (object [, object,...])
Console. Assert (expression [, object,...])
Console. dir (object)
Console. dirxml (node)
Console. Trace ()
Console. Group (object [, object,...])
Console. groupcollapsed (object [, object,...])
Console. groupend ()
Console. Time (name)
Console. timeend (name)
Console. Profile ([title])
Console. profileend ()
Console. Count ([title])
Javascript debugging
Single-step JavaScript debugging in firebug
Conditional breakpoint
Summary

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.