Re: Not all code being loaded (repost)

Steven Turoff <[email protected]>
Newsgroups gmane.comp.mozilla.devel.jsdebugger
Message-ID <6.0.0.22.2.20040117143659.01dd1d68@mail>
At 09:37 AM 1/17/2004, F. Da Costa wrote:
>Steven Turoff wrote:
>>There may be a syntax error in your code. I've noticed that Venkman stops 
>>identifying functions when expanding files in the "Loaded scripts"
>Ok, so what would be a good way to verify whether this is the case when 
>all the code as such runs fine?
>Maybe use the JSLint from D Cornford or (hmm) the MS JScript debugger?

I generally cut out some code and reload the page, then add code, 
bit-by-bit, to see where Venkman stops showing it. For example, let's say 
that your javascript is 1000 lines and venkman seems to be loading only 480 
of them. Cut out 500 lines or so, and load the page and see if Venkman 
displays everything. If so, add 100 lines of code and check Venkman again. 
And-so-on, and-so-on. Obviously when you are cutting out code you need to 
cut out chunks that don't result in syntax errors.

Steve



>TIA
>
>Fermin
>_______________________________________________
>mozilla-jsdebugger mailing list
>[email protected]
>http://mail.mozilla.org/listinfo/mozilla-jsdebugger
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.