Export (0) Print
Expand All

Client-Side Script Debugging

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

The following sections describe several ways that you can debug the client-side script in your application. For more information, see How to: Debug a Client-Side Script from Microsoft Internet Explorer.

NoteNote

To debug script you must enable script debugging in Internet Explorer. 

Using the Script Explorer Window

The Script Explorer window shows a list of documents that are currently loaded into the program you are debugging. For example, in an HTML frameset, the Script Explorer window can show you the pages currently loaded in the browser. You can use the Script Explorer window to open a document and set a breakpoint inside the script code. You can also use this window to see and debug code that is generated by script on the server and sent to the client.

In a Script

When writing a script, include a Stop statement (VBScript) or debugger statement (JScript). When script execution reaches that line, the Visual Studio debugger is launched.

In Response to an Error

If the browser or server encounters a syntax error or run time error in a script, it displays a message that offers you the opportunity to start the debugger at the line where the error occurred.

See Also

Community Additions

ADD
Show:
© 2014 Microsoft