« Creating a static WSDL through reflection | Main | Changing User attributes in Active Directory Users and Groups »
Thursday
Feb042010

Debugging JavaScript in IE8 with Developer Tools

IE8 comes with developer tools that allow you to debug JavaScript. How many times have you seen this:

image

When you need to debug JavaScript press F12 or select options –> Developer Tools. This will bring up the developer tools. Click the Script tab at the top and set breakpoints as needed.

 

 

image

 

The right hand pane has a locals view that will show you the values of your variables as you step through the JavaScript. Hit the start debugging button and reload the page in your browser. You can continue (F5) after hitting your breakpoint and checking out the values.

image

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>