帮助调试ASP [英] Help with debugging ASP

查看:60
本文介绍了帮助调试ASP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows XP专业版上安装了MS Visual Studio 2003。我在这台机器上运行了IIS,并且我正在尝试调试一些现有的代码,这些代码同时具有两个
ASP和ASP.NET组件。


当我尝试从VS启动调试器时,我被告知不能因为项目是输出类型类库而不是
。错误表明我应该设置启动外部程序或启动URL的启动操作。


我尝试了这两个并且似乎无法获得调试器附上

的过程。但是,我可以加载网页并浏览错误

,这会导致VS的另一个会话出现。不幸的是,错误

不是我可以调试的,因为我无法获得断点工作

并且调试器只有在遇到错误时才会出现。


我的起始页面是default.asp,我尝试在

中设置一个断点,但无济于事。如何调试这个脚本?


谢谢,


-KS

I have MS Visual Studio 2003 on Windows XP Pro. I have IIS running on
this machine and I am trying to debug some existing code which has both
ASP and ASP.NET components.

When I try and launch the debugger from VS, I am told it can''t because
the project is of output type class library. The error indicates I
should set the start action to start external program or start URL.

I tried both of these and cannot seem to get the debugger to attach to
the process. However, I can load the webpage and surf to an error
which causes another session of VS to come up. Unfortunatly, the error
is not one that I can debug because I can not get break points to work
and the debugger will only come up when it hits the error.

My start page is default.asp and I have tried setting a break point in
it to no avail. How can I debug this script?

Thanks,

-KS

推荐答案

ke ********* @ usa.com 写道:
我在Windows XP专业版上有MS Visual Studio 2003。
I have MS Visual Studio 2003 on Windows XP Pro.




你无法知道它,但是这个是一个经典的asp新闻组。

虽然你可能很幸运能找到一个精通网络的人,你可以回答你的问题,你可以通过发帖消除运气因素你的b $ b问题来自一个精通网络的人们闲逛的新闻组。我建议

microsoft.public.dotnet.framework.aspnet或

microsoft.public.vsnet.debugging。


不幸的是我我不知道你的问题的答案,所以我建议把

发给相关的新闻组。


Bob Barrows


-

Microsoft MVP - ASP / ASP.NET

请回复新闻组。我的From

标题中列出的电子邮件帐户是我的垃圾邮件陷阱,因此我不经常检查它。通过发布到新闻组,您将获得更快的回复。



There was no way for you to know it, but this is a classic asp newsgroup.
While you may be lucky enough to find a dotnet-savvy person here who can
answer your question, you can eliminate the luck factor by posting your
question to a newsgroup where the dotnet-savvy people hang out. I suggest
microsoft.public.dotnet.framework.aspnet or
microsoft.public.vsnet.debugging.

Unfortunately I don''t know the answer to your question, so I suggest posting
to a relevant newsgroup.

Bob Barrows

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don''t check it very often. You will get a
quicker response by posting to the newsgroup.


我已经假设,因为我想要调试的第一件事是default.asp ,

这是经典的ASP。事实上,我同时拥有.asp和

..aspx文件使整个问题成为dotnet吗?


谢谢!

I had assumed since the first thing I wanted to debug was default.asp,
that this was classic ASP. Does the fact that I have both .asp and
..aspx files make the entire issue dotnet?

Thanks!


ke ********* @ usa.com 写道:
我假设自从我想调试的第一件事是default.asp,
这是经典的ASP。我同时拥有.asp和
.aspx文件的事实是否会使整个问题成为dotnet?
I had assumed since the first thing I wanted to debug was default.asp,
that this was classic ASP. Does the fact that I have both .asp and
.aspx files make the entire issue dotnet?



事实上它是Visual Studio.Net这使它成为Visual Studio.Net

问题。


我甚至不确定你用vs.net调试经典的asp代码,尽管我

可能会弄错。我认为你需要Visual Interdev,即使使用

该程序,调试服务器端asp代码的能力从来都不是可靠的。


如需替代方案,请参阅:
http://support.microsoft.com/support.../q288/9/65.asp


-

Microsoft MVP - ASP / ASP.NET

请回复新闻组。我的From

标题中列出的电子邮件帐户是我的垃圾邮件陷阱,因此我不经常检查它。通过发布到新闻组,您将获得更快的回复。


It''s the fact that it''s Visual Studio.Net that makes it a Visual Studio.Net
issue.

I''m not even sure you _can_ debug classic asp code with vs.net, although I
may be mistaken. I would think you would need Visual Interdev, and even with
that program, the ability to debug server-side asp code has never been
reliable.

For an alternative, see:
http://support.microsoft.com/support.../q288/9/65.asp

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don''t check it very often. You will get a
quicker response by posting to the newsgroup.


这篇关于帮助调试ASP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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