step through debugging for classic asp with VS2008

2019-04-15 04:19发布

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.

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?

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?

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 :)

3条回答
爷、活的狠高调
2楼-- · 2019-04-15 04:58
  1. Turn on server side debugging in IIS7
  2. The quickest way to drop into the debugger is to write the word

    Stop

somewhere in your asp file. As soon as you load the page and that is hit, the debugger will popup.

查看更多
Fickle 薄情
3楼-- · 2019-04-15 05:04

try to find some input here, seems promising

查看更多
登录 后发表回答