Debugging
Name
Debugging -- eases javascript debugging.
Description
When debugging javascript applications, it's often a problem to trace the exact locations of bugs. Using alerts to display values and messages is very cumbersome and the exact order of execution is not clear under browsers that display the alerts in non-modal dialogs.
This file provides a dedicated debug window and a function to display time-stamped messages in it.
Details
Following is a detailed description of the elements listed in the synopsis.
Functions
|
The message parameter is printed in the debug window together with a time-stamp.
Parameters
- message
- the message that will be printed in the debug window.
|
|
The Object that is provided as parameter is analyzed and its properties are listed in a separate window. When possible, the value each property will also be displayed.
Parameters
- objectToShow
- object whose properties will be shown.
|