Script debugger + vs. Net debugging Javascript

Source: Internet
Author: User

Installation Method:
1. ie properties-advanced-Disable script debugging, and remove the check box.
2. Download Microsoft Script debugger and install

The following describes how to debug the debugger.html file,CodeAs follows:

< Html >
< Head >
< Script Language = "JavaScript" >
Function Mydebugger ()
{
VaR A =   1 , B =   2 ;
VaR T;
T = A;
A = B;
B = T;
}
</ Script >
</ Head >

< Body >
< Input Type = "Button" Value = "Start debugging" Onclick = "Mydebugger ()"   />
</ Body >
</ Html >

1. Open the debugger.html file and click [view]-[script debugging] On the IE Toolbar.Program]-[Open]

2. In the select debugger dialog box, select vs. net2003, click yes, and select the debug program type. Select script here. After confirming, vs. Net opens.
Debugger.html File

3. Set breakpoints in function mydebugger

4.go back to the debugger.html page and click <start debugging>

The main advantage of using script debugger is that it is easy to use and debug in the vs. NET environment.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.