VS2008一起调试ASP和ASP.net [英] VS2008 Debug ASP and ASP.net together
问题描述
是否可以通过Visual Studio调试经典的ASP和ASP.net应用程序,让我也可以在ASP代码行和ASP.net处断点?
Is there any way to debug both classic ASP and ASP.net applications from visual studio to allow me to breakpoint on an ASP line of code and an ASP.net one too?
这是针对具有旧版经典asp组件和较新ASP.net模块的旧版系统
This is for a legacy system which has older classic asp components and newer ASP.net modules
我可以通过自己调试ASP.net(而不是ASP)来工作,或者通过调试ASP(而不是ASP.net)来替代
I have it working by debugging the ASP.net on its own (and not the ASP) or the other way around by debugging the ASP (and not the ASP.net)
要做ASP:
在Visual Studio中附加以处理w3wp.exe(因为该站点托管在我的本地Windows 7 x64计算机上的IIS7上)
Attach to process w3wp.exe from within Visual Studio (as the site is hosted on IIS7 on my local windows 7 x64 machine)
要做ASP.net:
转到"VS站点"属性,然后选择默认服务器.
Goto VS Site properties and choose default server.
我想做些什么吗?
谢谢
MH
推荐答案
答案很简单,不用担心.您不能附加到同时调试脚本和托管代码的进程.
The answer is a simple No I'm afraid. You can not attach to a process to debug both Script and Managed Code at the same time.
这篇关于VS2008一起调试ASP和ASP.net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!