views:

312

answers:

3

Hello,

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

+2  A: 

try to find some input here, seems promising

Konstantinos
do you think it'll work on windows 7? (I can't try right at the moment)
Jiaaro
hard question :)Well, i assume that given that you install VS08 you won't have problems. VS is by far the best debugging tool i ve used so far, i don't think that it can get better than that when it comes to asp apps and in general .NET
Konstantinos
A: 
  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.

Michael Pryor
We're on a shared server that doesn't let you use serverside debugging :(
Jiaaro
Can you run Visual Studio? If not, then you'll just need to do response.write debugging.
Michael Pryor
@Michael Pryor - *sigh* I was hoping for something a little more elegant - but alas so far that has been the most effective method
Jiaaro