你如何进行调试传统的ASP? [英] How do you debug classic ASP?

查看:345
本文介绍了你如何进行调试传统的ASP?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经调试传统的ASP网站由IIS 7(Windows 2008中)担任。

我怎样才能做到这一点?我只用ASP.NET工作。


解决方案

从MSDN博客文章:<一href=\"http://blogs.msdn.com/mikhailarkhipov/archive/2005/06/24/432308.aspx\">http://blogs.msdn.com/mikhailarkhipov/archive/2005/06/24/432308.aspx


  

下面是如何使ASP调试工作:


  
  

      
  1. 在服务器上启用ASP调试。 (我还添加了DEBUG动词asp的扩展,但如果需要,我不知道)。

  2.   
  3. 开启传统的ASP在2005年VS

  4.   
  5. 设置断点。

  6.   在浏览器
  7. 查看页面或无需调试运行。

  8.   
  9. 调试|附加到进程

  10.   
  11. 找到IIS的ASP辅助进程(在IIS6的w3wp.exe),它公开x86和脚本,并附加为脚本。

  12.   

从eddiegroves评论如下:


  

关于步骤#1 IIS7 - IIS> ASP>编辑>调试属性>启用服务器端调试


I have to debug a classic asp site being served by IIS 7 (windows 2008).

How can I do this? I have only worked with ASP.NET.

解决方案

From an MSDN blog post: 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.

From eddiegroves comment below:

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

这篇关于你如何进行调试传统的ASP?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆