Visual Studio 2005中的经典ASP断点问题
我试图在ASP页面中设置一个断点,导致无法正常工作。Visual Studio 2005中的经典ASP断点问题
我在Visual Studio 2005在Windows Server 2008
做这个每当我试着设置断点用鼠标,IDE会打开一个不同的页面,在该页面设置一个断点的地方。我不知道它为什么这样做。
我有更好的运气使用F9设置断点,但这些断点不会被打到,无论如何。在Visual Studio自动打开的页面中设置的断点越来越受欢迎,但这并不能帮助我,因为我不需要调试该页面!
这是我第一次调试经典的ASP,所以我可以使用一些帮助。
感谢
我只是考验的经典ASP的调试在VS 2008中对2008年服务器,它工作正常。我没有VS2005来测试它。
但是,如果内存服务,我已经看到了这个问题,当网站项目的根文件夹(你使用的网站不是一个Web应用程序项目的权利?)和IIS配置中的主目录路径。例如,VS解决方案指向UNC路径,而IIS指向物理驱动器。在这种情况下,VS不能在解决方案中使用源代码的文件路径在ASP进程中结尾脚本的文件路径。
这是一个网站,而不是一个应用程序。当我在VS中加载站点时,我正在该服务器的IIS中选择一个站点,所以我不认为就是这样。 – 2009-07-17 12:12:13
In VS.NET:
project - properties
configuration properties
debugging
- enable ASP debugging
- enable ASP.NET debugging
In the IIS snap-in:
default Website - properties
home directory tab
configuration
app debugging
- enable ASP server-side script debugging
Website (the project you want to debug) - properties
directory tab
application name: add
Add IIS process account to Debugger Users group:
In Computer Management snap-in:
System Tools
Local Users and Groups
Groups
Debugger Users - properties
Add user IWAM_machine-name (the "Launch IIS process account")
Now, to debug in VS.NET:
right-click the .asp page that the application should start from
select "Set as Start Page"
这看起来像IIS6的说明。 – 2009-07-16 18:31:08
我真的很期待这个问题的答案:我放弃了前一段时间的经典asp断点,设置起来很麻烦,反正无法正常工作......但也许有一种让它工作的方法... – 2009-07-16 18:07:22