我无法再使用visual studio 2008调试经典的asp代码

时间:2021-09-27 01:31:42

I've finally found a way to debug classic asp code in visual studio 2008 ... but...

我终于找到了一种在visual studio 2008中调试经典asp代码的方法......但......

has anybody been able to debug asp classic code with visual studio 2005 or later?

有没有人能够使用visual studio 2005或更高版本调试asp经典代码?

... but ...

......但......

it only lasted a few days...

它只持续了几天......

I'm following these steps

我正在遵循这些步骤

http://www.codeproject.com/KB/debug/DebugVBScriptVS2008.aspx

http://codepagoda.com/2009/04/30/debugging-classic-asp-with-visual-studio-2008-sp1-and-35-framework/

but now, when I do "attach process" I can no longer see the "Script, x86" process anymore...

但现在,当我做“附加过程”时,我再也看不到“脚本,x86”过程......

so I can not debug classic asp code...

所以我无法调试经典的asp代码...

I tried restarting the machine, creating a new project, startgin from scrath, the only thing I haven't tried so far is to reinstall IIS...

我尝试重新启动机器,创建一个新项目,来自scrath的startgin,到目前为止我唯一没有尝试的是重新安装IIS ...

any idea???

PLEASE HELP!!!!

edit: some info about my environment

编辑:有关我的环境的一些信息

Windows XP 2002 SP 3, IIS 5.1, Visual Studio 2008 9.0.30729.1 SP

Windows XP 2002 SP 3,IIS 5.1,Visual Studio 2008 9.0.30729.1 SP

3 个解决方案

#1


The most likely reason for this is because the process hasn't spun up yet. You need to hit an ASP page first before IIS spins up the DLLHOST.exe in which it runs an application if you have that application set to have high isolation (recommended for debugging purposes).

最可能的原因是因为这个过程还没有开始。如果您将该应用程序设置为具有高隔离度(建议用于调试目的),则在IIS启动运行应用程序的DLLHOST.exe之前,您需要首先访问ASP页面。

Hence debugging bia attachment requires the you use the browser to ping an ASP page in your site first, then open the Attach to process list.

因此,调试bia附件需要您首先使用浏览器ping您站点中的ASP页,然后打开Attach to process列表。

#2


I had the same problem. I fixed it out installing Service Pack 1 for my Visual Studio 2008. And now I attach to "inetinfo.exe" process instead of "dllhost.exe".

我有同样的问题。我修复了它为我的Visual Studio 2008安装Service Pack 1.现在我附加到“inetinfo.exe”进程而不是“dllhost.exe”。

#3


The following steps might help you:

以下步骤可能对您有所帮助:

  1. Host the site is IIS and make sure it's running
  2. 托管该站点是IIS并确保它正在运行

  3. Change the Application Configuration to enable debugging 我无法再使用visual studio 2008调试经典的asp代码
  4. 更改应用程序配置以启用调试

  5. Then Attach the debugger to w3wp (IIS worker process) 我无法再使用visual studio 2008调试经典的asp代码
  6. 然后将调试器附加到w3wp(IIS工作进程)

#1


The most likely reason for this is because the process hasn't spun up yet. You need to hit an ASP page first before IIS spins up the DLLHOST.exe in which it runs an application if you have that application set to have high isolation (recommended for debugging purposes).

最可能的原因是因为这个过程还没有开始。如果您将该应用程序设置为具有高隔离度(建议用于调试目的),则在IIS启动运行应用程序的DLLHOST.exe之前,您需要首先访问ASP页面。

Hence debugging bia attachment requires the you use the browser to ping an ASP page in your site first, then open the Attach to process list.

因此,调试bia附件需要您首先使用浏览器ping您站点中的ASP页,然后打开Attach to process列表。

#2


I had the same problem. I fixed it out installing Service Pack 1 for my Visual Studio 2008. And now I attach to "inetinfo.exe" process instead of "dllhost.exe".

我有同样的问题。我修复了它为我的Visual Studio 2008安装Service Pack 1.现在我附加到“inetinfo.exe”进程而不是“dllhost.exe”。

#3


The following steps might help you:

以下步骤可能对您有所帮助:

  1. Host the site is IIS and make sure it's running
  2. 托管该站点是IIS并确保它正在运行

  3. Change the Application Configuration to enable debugging 我无法再使用visual studio 2008调试经典的asp代码
  4. 更改应用程序配置以启用调试

  5. Then Attach the debugger to w3wp (IIS worker process) 我无法再使用visual studio 2008调试经典的asp代码
  6. 然后将调试器附加到w3wp(IIS工作进程)