User Tools

Site Tools


Debug de Scripts Microsoft

Scripting Debugging in Internet Explorer

Script debugging is turned off by default you can enable it by going to: Tools→Internet Options…→Advanced→Disable Script Debugging

Prior to XPSP2 the above will turn script debugging on for all applications that host the WebBrowser control (Outlook for example).

On XPSP2 we’ve split the option into two: Tools→Internet Options…→Advanced→Disable Script Debugging (Internet Explorer) Tools→Internet Options…→Advanced→Disable Script Debugging (Other)

When you’ve enabled Script Debugging ‘View→Script Debugger’ will now be present to help you break into the debugger.

The debugger statement can also be placed anywhere in your code to suspend execution this is similar to setting a breakpoint. The Stop statement is the VBScript version of JScript’s debugger statement.

There are three applications which I’ve used for script debugging. One is Visual Studio.Net, the second is Microsoft Script Debugger and the third is Microsoft Script Editor:

Microsoft Script Debugger

You can obtain a copy of the Microsoft Script Debugger here:

The main MSDN page for using the Microsoft Script Debugger can be found here:

The Microsoft Script debugger allows you to debug client side and server side scripts and provides the same functionality as most debuggers do.

Directions on using the Microsoft Script debugger can be found here:

Microsoft Script Editor

The Microsoft Script Editor comes free with Microsoft Office XP/2003 with FrontPage.


For Visual debugging Monica Rosculet has written an excellent article on: Debugging Script Code Using Visual Studio.


Gregg Miskelly a developer on the Visual Studio team has posted some excellent information about: How Script Debugging Works.

programacion/debug.txt · Last modified: 2017/12/12 11:14 by jherrero