Re: how to debug a javascript?



Hi, thanks for replying.

You mean looking into the source in the browser itself?
But there are no linenumbers there. If the code contains hundred lines, how
to be sure to count right? And does all blanco lines counts as one? Is there
no better way to debug a big script?

"Evertjan." <exjxw.hannivoort@xxxxxxxxxxxx> schreef in bericht
news:Xns98EC703575E4Ceejj99@xxxxxxxxxxxxxxxxxx
Mich wrote on 07 mrt 2007 in microsoft.public.scripting.jscript:
i use javascript with asp.net.(in aspx file). I use Visual Web Dev.
Sometimes, i get an javascript error with a linenumber that exceeds the
total amounts of line.

How to retrieve quickly the line with the javascript error?

If you are talking clientside script,
just apply the line number to the view-sourced source.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)


.


Loading