debugging javascript

Zbigniew Koziol softquake-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Sun Aug 31 13:28:27 UTC 2008


Firebug is just unreplacable debugger of JavaScript. Unfortunately, it
does not run (yet) under version 3 of firefox, just only under version
2. It is worth however an efford and mess caused by installing an
additional older version of firefox. You will love it.

I did not even looked into your code - I am on vacation and using
computer of friend.

Firebug will list the exact line of code where an error occurrs. It
allows for interactive debugging and running the code, as well as
using break points and viewing values of variables at any stage of
code execution.

zb.



On 8/31/08, Paul King <sciguy-Ja3L+HSX0kI at public.gmane.org> wrote:
> Hello
>
> I am teaching myself AJAX, and have now gotten to the point where no
> syntax errors are reported. I am using Javascript and HTML for now, to
> get a dropdown menu.
>
> The failed script follows an example in Steven Holzner's Ajax Bible pp
> 379-400. It's at: http://hackingajax.alimentarus.net/sixth.shtml, if
> anyone wants to see the error console.
>
> I have tried ddd, greasemonkey, and a number of other debuggers,
> including firefox's own error console, under Linux. All of them have
> seem to have this same screwball way of numbering the lines. Apparently
> the error is being reported on line 344 on a file which has only 150 or
> so lines.
>
> When seen under Explorer, the page is completely blank.
>
> If anyone can shed light on this issue, I would be grateful.
>
> Paul King
>
>
> --
> The Toronto Linux Users Group.      Meetings: http://gtalug.org/
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
>
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list