JavaScript debugger console (Advice)

Netscape JavaScript debugger console window for viewing error logs.

If you type the javascript: URL method into the location box on a Netscape 4 browser and then press return, the web browser will display a debugging console window that gives you some helpful messages about what is happening in your script. It can certainly speed up the debugging process when you are trying to trace a fault.

You can type short pieces of JavaScript source code into the type-in box and press return and the results will be executed in console.

For example, to see the value of some mathematical constants, you type these lines into the location box:





See also:Debugging - client-side, JavaScript interactive URL, javascript: URL


Wrox Instant JavaScript - page - 48