The tutorial of helper House (www.bkjia.com) has the basics of debugging JavaScript/VB Script program (ASP) and JavaScript/VB Script program (IE), and debugging ASP. the DHTML Script in. NET is simple.
Note:: The Visual Studio version used in this article is 2008.
Debug on a published website
1. Follow the instructions in debugging JavaScript/VB Script (IE) to enable the IE Script debugging function, and attach Visual Studio to the correct IE instance.
2. Find the page you want to debug in Visual Studio. For example, if IE is displaying the http: // localhost/Training/test. aspx page, open the source code of test. aspx.
3. Find the DHTML source code you want to debug. Note that you cannot add runat = "server" scripts because these scripts are executed on the server. Click F9 on the code line for breakpoint setting (thanks to hui, a netizen, for telling me this technique ). As shown in:
- 2 pages in total:
- Previous Page
- 1
- 2
- Next Page