调试 – 如何调试经典ASP?

前端之家收集整理的这篇文章主要介绍了调试 – 如何调试经典ASP?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我必须调试由IIS 7(Windows 2008)提供的经典asp站点

我该怎么做?我只和ASP.NET一起工作。

解决方法

从MSDN博客帖子: http://blogs.msdn.com/mikhailarkhipov/archive/2005/06/24/432308.aspx

Here is how to make ASP debugging work:

  1. Enable ASP debugging on the server. (I also added DEBUG verb to the asp extension,but I am not sure if it is required).
  2. Open classic ASP in VS 2005.
  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) which exposes x86 and Script and attach as Script.

从eddiegroves评论如下:

Regarding Step #1 in IIS7 – IIS > ASP > Compilation > Debugging Properties > Enable Server-side Debugging

猜你在找的asp.Net相关文章