My contemplations and diurnal novelties are publicized here


For debugging Classic ASP keep in mind two key terms:-

1. Classic ASP debugging only works with IIS. It does not work with the VS Development Web Server.
2. In Visual Studio you have to attach to the ASP worker process (w3wp.exe in IIS 6,7).

Here is how to make ASP debugging work:

1. Enable ASP debugging on the server.

2. Open classic ASP in VS Studio.
3. Set breakpoint.
4. View page in browser or run without debugging.
5. Debug | Attach to Process
6. Locate IIS ASP worker process (w3wp.exe on IIS6/7) which exposes x86 and Script and attach as Script.

Advertisements

Comments on: "How to debug classic ASP pages in Visual Studio (2003,2005,2008,2010)" (13)

  1. James Wiseman said:

    Additional information can also be found in the following article:

    http://www.jameswiseman.com/blog/2010/10/12/debugging-classic-asp-from-visual-studio-2010/

  2. I have done all this several times and it still will not stop at breakpoints.

    • Have you attached it with the process (w3wp.exe). Also Kindly share your configuration. OS, VS Version, IIS version etc

  3. tapuleo said:

    So nice to have this info. Thanks for posting! I thought I was done with classic asp 12 years ago…nope.

  4. Is there any way to setup of VS2008 so that you can debug both ASP and ASPX pages within the same session? I have a project with both types of pages.

  5. I know this web page presents quality depending articles or reviews and extra information, is there any other site which gives these stuff
    in quality?

  6. this guide said:

    Hello there! This is my first visit to your blog!

    We are a group of volunteers and starting a new initiative in a community in the same
    niche. Your blog provided us beneficial information to work on.

    You have done a extraordinary job!

  7. photobooth posing said:

    I’m not that much of a online reader to be honest but your sites really nice, keep it up!
    I’ll go ahead and bookmark your site to come back later. Cheers

  8. Outstanding story there. What happened after? Take care!

  9. Everything is very open with a very clear clarification of the challenges.
    It was really informative. Your site is very helpful.
    Thanks for sharing!

  10. Stephan said:

    Excellent post. I am going through some of these issues as well.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: