Export (0) Print
Expand All

How to: Debug a Client-Side Script from Microsoft Internet Explorer

This topic applies to:

Visual Studio

Visual Basic

C#

C++

J#

Visual Web Developer

Express

Yes

Yes

Yes

Yes

Yes

Standard

Yes

Yes

Yes

Yes

Yes

Pro/Team

Yes

Yes

Yes

Yes

Yes

This topic describes how to debug from a running instance of Internet Explorer.

NoteNote

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

To debug a client-side script from Microsoft Internet Explorer

  1. Ensure that client-side script debugging is enabled. For more information, see How to: Enable Client-Side Script Debugging.

  2. On the View menu in Internet Explorer, select Script Debugger, and click Open. This launches the Visual Studio Just-In-Time Debugger dialog box.

  3. From the Possible Debuggers list in the Visual Studio Just-In-Time Debugger dialog box, select New Instance of Visual Studio 2005, and click Yes.

  4. Place break points in the script as needed in the Script Explorer window.

  5. Continue debugging.

To specify that the debugger stop at the first statement of scripts

  1. Ensure that client-side script debugging is enabled. For more information, see How to: Enable Client-Side Script Debugging.

  2. From the View menu in Internet Explorer, select Script Debugger, and click Break at Next Statement. This launches the Visual Studio Just-In-Time Debugger dialog box.

  3. From the Possible Debuggers list in the Visual Studio Just-In-Time Debugger dialog box, select New Instance of Visual Studio 2005, and click Yes.

    From now on, when any script is executed, the debugger stops at the first statement of the script.

See Also

Community Additions

ADD
Show:
© 2015 Microsoft