By default, VS.NET is debug .NET program, but vs.net IDE can also write ASP programs, but to debug an ASP program, you have to make a certain setting.
VS.NET IDE does not provide an ASP project, and the ASP program can only be established as a file, so it is impossible to establish an ASP project to edit debugging. However, it can be implemented in the following ways:
1. Create a new blank solution and save;
2. Create a virtual directory and create a new VB empty web project under the current solution;
3, select [New] - [File], select [Script] in the category, select the Active Server page entry, create an ASP page, and save it to the solution directory;
4. Select the web project, right click to add an existing item, select the ASP file that stepped up; then the ASP file appears in the Solution Explorer. But now, "can only" do not debug) ". If you press F5 directly, you will prompt the following error:
Try to run the project: You cannot start debugging on the web server. The project is not configured to debug.
For more information, click Help.
5. Select the VB web project in the Solution Explorer, right-click the selection properties. Select [Configuration Properties] - [Debug], enable the column, remove the ASP.NET debug (D) box and select the ASP debug (B).
6. After the above settings, you can reach the purpose of editing the ASP program with the vs.net, and the breakpoint can be set by test.