visual-studio 如何在 IIS 7.5 上调试经典的 asp 页面 Visual Studio 2010?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3235897/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-22 12:12:32  来源:igfitidea点击:

How to debug classic asp page Visual Studio 2010 on IIS 7.5?

asp.netvisual-studiovisual-studio-2010asp-classiciis-7.5

提问by Amitabh

I have tried attaching the debugger to the IIS worker process and have a break point on the asp page. But it never hits the breakpoint.

我尝试将调试器附加到 IIS 工作进程,并在 asp 页面上有一个断点。但它永远不会到达断点。

I am able to debug the aspx pages in the same site using the above process.

我能够使用上述过程调试同一站点中的 aspx 页面。

回答by Amitabh

I have got it working by setting

我通过设置让它工作

IIS Manager => Site => ASP => Debugging Properties => Enable Server Side Debugging

IIS 管理器 => 站点 => ASP => 调试属性 => 启用服务器端调试

to True.

为真。

Update: IIS Image is attached

更新:附加了 IIS 映像

http://j.mp/Y1G1mB

http://j.mp/Y1G1mB

回答by Draw3D

Also make sure you when attach to set it to attach to Script code only.

还要确保您在附加时将其设置为仅附加到脚本代码。