How can I debug both classic ASP and ASP.NET code in the same debugger session?

别说谁变了你拦得住时间么 提交于 2019-12-24 21:34:43

问题


I have a web app which is a mix of classic ASP and ASP.NET code, and I'd like to use the debugger. However it seems from looking at the Modules window in Visual Studio that only the ASP code happens to be available to the debugger at the moment; I get "the breakpoint will not be hit, no symbols have been loaded for this document" when I set a breakpoint in the ASP.NET code. How do I make both the ASP and ASP.NET code available? Or failing that, how do I switch between the two? Earlier I was able to debug the ASP.NET code but not the ASP code; it seems to be switching back and forth somehow but I don't know how to force it to do so...

According to this question it's not possible to debug both ASP and ASP.NET in the same session, but that was 10 years ago so maybe something has changed?

来源:https://stackoverflow.com/questions/57526327/how-can-i-debug-both-classic-asp-and-asp-net-code-in-the-same-debugger-session

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