JS Base second day (code debugging)

Source: Internet
Author: User

Today did not tidy up too much knowledge, today practice more cases. Today we have a three-dimensional expression. And if the update in the first issue, there is a relationship between the JS code debugging

In the morning to help friends do an effect, really feel their progress a lot, before I see let me help to do things I am frightened, afraid to do not come out. When I did it today, I couldn't believe I could finish it.

Now in the face of a problem to understand to think, think of its logical line, feel a lot clearer thinking.

code debugging (checking that your logic is correct)

1, first let the program run one side, 2, F12 code Debugging tools

3. Set Breakpoints

4. Refresh the page (gray when not refreshed)

5. Add a variable or expression to the Watch window. or select the variable or expression right-click Add to watch.

6, to find a step-by-step debugging, every click, perform a step (after the refresh is possible)

7. Click on the variable to execute it step by step,

JS Base second day (code debugging)

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.