I am coming from the django world to maintain a fairly complicated classic asp site. Unfortunately the site is riddled with uncommented, copy/pasted, spaghetti code spread out over several hundred files hidden away in a few dozen directories.
我来自django世界,维持一个相当复杂的经典asp网站。不幸的是,该网站上充斥着未注释的,复制/粘贴的意大利面条代码,这些代码分散在数十个目录中隐藏的数百个文件中。
To be curt, it's a bit of a nightmare ;)
简而言之,这是一个噩梦;)
Anyway, I am most familiar with eclipse, and I was wondering if Visual Studio 2008 can do the kind of debugging capabilities you would expect from such a prolific IDE. Can I step through this asp application line by line, set break points, and view the contents of variables on the fly? if so how?
无论如何,我最熟悉eclipse,我想知道Visual Studio 2008是否可以做这种多产IDE所期望的那种调试功能。我可以逐行浏览这个asp应用程序,设置断点,并动态查看变量的内容吗?如果是这样的话?
If I need to add everything to a project, what is the best way to bring it all in? I havn't used vs in a while, but last I checked it liked to add a lot of files to your web server. Is that still an issue?
如果我需要将所有内容添加到项目中,那么最好的方法是什么呢?我在一段时间内没有使用过vs,但最后我检查过它喜欢在Web服务器上添加大量文件。这还是个问题吗?
thanks so much, my sanity may depend on it lol
非常感谢,我的理智可能取决于它大声笑
edit: I should note that I'm not married to using vs2008, if you know of other debugging tools that you think are better, let me know! I'll use anything as long as there is documentation :)
编辑:我应该注意,我没有使用vs2008,如果你知道其他调试工具,你认为更好,请告诉我!只要有文档,我会用任何东西:)
3 个解决方案
#1
I could make it work...
我可以让它工作......
has anybody been able to debug asp classic code with visual studio 2005 or later?
有没有人能够使用visual studio 2005或更高版本调试asp经典代码?
following these instructions...
按照这些说明......
http://www.codeproject.com/KB/debug/DebugVBScriptVS2008.aspx
http://codepagoda.com/2009/04/30/debugging-classic-asp-with-visual-studio-2008-sp1-and-35-framework/
but after a couple of days it just broke down...
但几天之后它就崩溃了......
I can no longer debug classic asp code with visual studio 2008
我无法再使用visual studio 2008调试经典的asp代码
I hope you'll have more luck than me
我希望你比我更幸运
#3
- Turn on server side debugging in IIS7
-
The quickest way to drop into the debugger is to write the word
放入调试器的最快方法是编写单词
Stop
在IIS7中打开服务器端调试
somewhere in your asp file. As soon as you load the page and that is hit, the debugger will popup.
你的asp文件中的某个地方。一旦加载页面并且被点击,调试器就会弹出。
#1
I could make it work...
我可以让它工作......
has anybody been able to debug asp classic code with visual studio 2005 or later?
有没有人能够使用visual studio 2005或更高版本调试asp经典代码?
following these instructions...
按照这些说明......
http://www.codeproject.com/KB/debug/DebugVBScriptVS2008.aspx
http://codepagoda.com/2009/04/30/debugging-classic-asp-with-visual-studio-2008-sp1-and-35-framework/
but after a couple of days it just broke down...
但几天之后它就崩溃了......
I can no longer debug classic asp code with visual studio 2008
我无法再使用visual studio 2008调试经典的asp代码
I hope you'll have more luck than me
我希望你比我更幸运
#2
try to find some input here, seems promising
试着在这里找一些输入,看起来很有希望
#3
- Turn on server side debugging in IIS7
-
The quickest way to drop into the debugger is to write the word
放入调试器的最快方法是编写单词
Stop
在IIS7中打开服务器端调试
somewhere in your asp file. As soon as you load the page and that is hit, the debugger will popup.
你的asp文件中的某个地方。一旦加载页面并且被点击,调试器就会弹出。