在VS 2012中调试服务器端ASP经典 [英] Debugging server-side ASP classic in VS 2012

查看:174
本文介绍了在VS 2012中调试服务器端ASP经典的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

按照



这些基本上是网站目录层次结构中第一个〜20个ASP文件。



如果我尝试在解决方案中的任何其他ASP文件中放置一个断点,我会得到一个工具提示消息:


目前不会打破断点。没有符号已经加载
此文档。


如何在中启用断点调试所有 ASP文件在网站?

解决方案

您可以使用 STOP 经典ASP中的关键字无论您在VBS代码中写什么,服务器将停止并提示您附加一个Visual Studio调试器,然后可以对运行的源文件进行全面的了解。



为了做到这一点,您需要配置IIS以允许服务器端调试


Following this answer I am able to connect to an IIS Express instance with debugging.

However, I am only able to place breakpoints in a small set of my ASP pages, as shown in the VS2012 Solution Explorer while the debugger is attached to the website's IIS Express process:

These are basically the first ~20 ASP files in the site's directory hierarchy.

If I try to put a breakpoint in any other ASP file in the solution I get a tooltip message:

The breakpoint will not currently be hit. No symbols have been loaded for this document.

How do can I enable breakpoint debugging in all ASP files in the website?

解决方案

You can use the STOP keyword in classic ASP. Wherever you write this in VBS code the server will stop and prompt you to attach a Visual Studio debugger, which will then give you full visibility into the running source file.

In order to do this you need to configure IIS to allow Server side Debugging.

这篇关于在VS 2012中调试服务器端ASP经典的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆