Debugging server-side ASP classics in VS 2012

After this answer, I can connect to the IIS Express instance with debugging.

However, I can place breakpoints in a small set of my ASP pages, as shown in VS2012 Solution Explorer, while the debugger is connected to the IIS Express process of the website:

VS2012 screenshot

These are basically the first ~ 20 ASP files in the site directory hierarchy.

If I try to set a breakpoint in any other ASP file in the solution, I get a tooltip:

Currently, the breakpoint will not be deleted. No characters have been uploaded for this document.

How to enable interrupt debugging feature in all ASP files on a website?

0
debugging visual-studio-2012 asp-classic iis-express
source share
1 answer

You can use the STOP keyword in classic ASP. Wherever you write this in VBS code, the server will stop and prompt you to enable the Visual Studio debugger, which will then give you full visibility in the original source file.

To do this, you need to configure IIS to enable server-side debugging .

+1
source share

All Articles