Thursday, 30 April 2009

JScript Debugger in Internet Explorer 8

Internet Explorer 8 comes with in built JScript debugger. It has familiar Visual Studio feel and features like call stacks, watches, locals and immediate window.
The follwing example show you how to debug javaScrpt in Developer Tools.
1. Open the debugger by pressing SHIFT+F12, or click the developer tools icon in the command bar or by clicking (Tools -> Developer Tools)





2. After launching the Developer Tools, switch to the script tab.

3. Breakpoint the javasript line by pressing F9.

4. click on start Debugging button


5. Refresh the page. Debugging window will highlight (break) on the breakpoint script.

You can find more about Developer Tools here.

No comments: