O'Reilly logo

JavaScript Testing by Liang Yuxian Eugene

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action—more Debugging JavaScript by using the IE8 developer tool

Here are the steps to start debugging:

  1. Click on the Script tab found in the Primary Content Panel.
  2. Next, click on the button that says Start Debugging.
  3. After clicking on Start Debugging, you will have all of the functionality of a proper debugger.

    If you wish to stop debugging at any point in the debugging process, click on Stop debugging.

    Now let us see what we can do with the various functionalities of the debugging tools. Let us start with the first one: setting breakpoints.

    We usually set breakpoints in order to control execution. In the previous chapters, we have typically relied on alert() or other functions in order to control program execution.

    However, by using IE's ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required