debugging JavaScript with. Net

Source: Internet
Author: User
Javascript The actions that are used in the server-side response in ASP.net, will cause the page to refresh, but many times in response to user action, the first time to determine whether the user's input is empty, and so on, these operations can be used in the user side of JavaScript to determine, for JavaScript debugging today found is actually can be used. N ET, the summary is as follows:
1. Set IE properties: ie-〉 tool-〉internet Option-〉 Advanced-〉 Disable script debugging


2. Open the page to debug in IE

3. Select the Debugging tool: ie-〉 View-〉 Script Debugger-〉 Open, display the following screen, select. net2003 for Debugging Tools

Click "OK" button to automatically enter the. NET development environment
4. When you attach a process to. NET, and after you enter the. NET development environment, the following screen appears, select Script, click OK

5. Select the Debug-〉 window in. NET-〉 run the document so that the Run document window appears on the right so that you can select a JavaScript program
6. Set breakpoints: Select the appropriate document in the run document to set breakpoints, as shown in

7. Set a good breakpoint, return to IE, perform operations, if triggered JavaScript will automatically enter the. NET development environment


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.