Export (0) Print
Expand All
2 out of 2 rated this helpful - Rate this topic

How to: Enable and Start Script Debugging from Internet Explorer

This topic applies to:

Edition

Visual Basic

C#

C++

Web Developer

Express

Topic appliesTopic appliesTopic appliesTopic applies

Standard

Topic appliesTopic appliesTopic appliesTopic applies

Pro and Team

Topic appliesTopic appliesTopic appliesTopic applies

Table legend:

Topic applies

Applies

Topic does not apply

Does not apply

Topic applies but command hidden by default

Command or commands hidden by default.

This topic describes procedures performed within Internet Explorer when you debug client-side code with Visual Studio.

To enable script debugging in Internet Explorer

  1. On the Tools menu, click Internet Options.

  2. In the Internet Options dialog box, click the Advanced tab.

  3. In the Browsing category, clear the Disable script debugging check box.

  4. Click OK.

  5. Exit and restart Internet Explorer.

To begin script debugging in Visual Studio from Internet Explorer

  1. Script debugging must be enabled as described in the previous procedure.

  2. On the View menu in Internet Explorer, select Script Debugger, and then click Open.

    The Visual Studio Just-In-Time Debugger dialog box opens.

    In Internet Explorer 7, the menu bar might not always appear. If the menu bar does not appear, display the menu bar by clicking Tools, and then clicking Menu Bar.

  3. On the Possible Debuggers list, select New Instance of Visual Studio.

  4. Click Yes.

    A new instance of Visual Studio appears and debugging begins. In Visual Studio, you can now open script documents from Solution Explorer, place breakpoints in script, step through script code, and view variables and properties in variable windows or the Immediate window.

To begin script debugging in Visual Studio at the next script statement

  1. Script debugging must be enabled as described in the previous procedure.

  2. On the View menu in Internet Explorer, select Script Debugger, and then click Break at Next Statement.

    The Visual Studio Just-In-Time Debugger dialog box opens.

  3. On the Possible Debuggers list in the Visual Studio Just-In-Time Debugger dialog box, select New Instance of Visual Studio.

  4. Click Yes.

    A new instance of Visual Studio appears, but debugging does not begin until the next script statement executes. You can now open script documents from Solution Explorer immediately but you cannot control execution until debugging begins.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.