What i would like to know is if i load a web page (asp although i dont think it really matters what language) and IE reports an error that says something like
Line: 416
Char: 121
Error: some error description.
how can i tell what line is line 416?
The page has some includes at the top so i assume we need to work with the code that the server see's . So i right mouse click on the page and click view source which gives me the entire page with the includes in a text file. I have "Visual Web Developer 2008" on my computer so i can paste that code into that which shows a line number next to every line (including blank ones) however line 416 in no way refers to the error that is being displayed.
Should i be counting blank lines?
Do some lines not count because they are effectivley a coninuation of the previous line?
is there a free app that i can paste the source into that will show me the line text that is erroring (gee now i am making up words)?
would a different browser (eg firefox) give me better info on the error?
i know i could paste the code here and give you guys the error and you would solve it. but i would rather learn how to do this myself (the old give a man a fish, and he eats for a day. Teach him how to fish, and he eats forever......... although not with my fishing prowess ;)
Thanks in advance.
Start Free Trial