O'Reilly logo

Microsoft® Visual Web Developer™ 2008 Express Edition Step by Step by Eric Griffin

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

Setting a Breakpoint

Debugging enables you to step, line by line, through JavaScript code. You can start debugging in several ways. The Debug menu is the central focus during debugging, as shown in Figure 7-14.

The Debug menu.

Figure 7-14. The Debug menu.

Choose Step Into and begin debugging from the first line of JavaScript. This might seem like a logical thing to do, but remember that you have generated a lot of markup and code by Visual Web Developer and the server controls, so you typically start inside of that JavaScript. Needless to say, it can be confusing and overwhelming.

A better technique is to set breakpoints in your JavaScript. This way, you can focus ...

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