VS2008 Debug ASP and ASP.net together(VS2008 一起调试 ASP 和 ASP.net)
问题描述
有什么方法可以在 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:VS2008 一起调试 ASP 和 ASP.net
基础教程推荐
- 禁止输入少量字符,例如'<'、'&a 2022-01-01
- C# 从 List<List<int>> 中删除重 2022-01-01
- 如何使用 .Net 检查 Active Directory 服务器是否已启动并正在运行? 2022-01-01
- Moq It.Is<>不匹配 2022-01-01
- 当值可以是对象或空数组时反序列化 JSON 2022-01-01
- 我应该在后面的代码中直接使用 Linq To SQL 还是使 2022-01-01
- 如果有人提交恶意软件Nuget包怎么办? 2022-01-01
- Azure Functions:CosmosDBTrigger 未在 Visual Studio 中触发 2022-01-01
- WPF 模态进度窗口 2022-01-01
- .NET SerialPort DataReceived 事件未触发 2022-01-01
