brian.ackermann wrote on 04 apr 2007 in
microsoft.public.inetserver.asp.general:
Hi all,
I'm running into some trouble figuring out how to create a 'project'
from an existing asp application.
The ASP app was written entirely with plain text editors. I would
like to set up debugging for it, but it seems that in order to debug,
I must have a 'project'.
No. Debugging should be in essence a manual and conseptual tast.
First yopu sgould knoew what the code should do.
Then test what fails.
Then insert brakpoints where you suspect that origins of the errors an
be:
response.write "breakpoint 1: value: " & supiciousValuedVariable
response.end
remarking them as you go on:
'response.write "breakpoint 2: value: " & OtherSupiciousValuedVariable
'response.end
I cannot figure out how one might go about this task. The project is
rather large (180K lines, and a few hundred files in many different
sub-dirs), and I have been playing & researching for about 4 hours
now, and I can't figure it out.
4 hours is nothing. Think months.
Somtimes, if the code is badly written, it pays off to rebuild from
scratch.
Can anyone make a suggestion as to what I must do to get something
going (preferably vs2003, but I have VID also)
Bad choices if you use tham for debugging code you do not understand.
I do not think those will speed you up, unless you are proficient in the
above debugging by hand.
Undoubtedly others will queue up to prove me wrong ;-)
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)