VS2008 Debug ASP and ASP.net together

孤街醉人 提交于 2019-12-31 02:09:10

问题


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?

This is for a legacy system which has older classic asp components and newer ASP.net modules

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)

To do ASP:

Attach to process w3wp.exe from within Visual Studio (as the site is hosted on IIS7 on my local windows 7 x64 machine)

To do ASP.net:

Goto VS Site properties and choose default server.

Is what I want to do possible?

Thanks

MH


回答1:


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.



来源:https://stackoverflow.com/questions/1062815/vs2008-debug-asp-and-asp-net-together

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!