IBM Tivoli Software IBM Tivoli Software

[ Bottom of Page | Previous Page | Next Page | Contents | Index ]


Objective

To use the JavaScript Console so you can view the line number of a syntax error in a JavaScript resource model.

Note:
This console is applicable to JavaScript resource models only.

Background information

This panel displays information if there is an error in the script. The line number of the error displays to assist in identifying the error.

The view is configurable to start or stop showing debug information. You can use the clear icon (shown below) to clear the contents of the view.

Before you begin

None

When you finish

Run the resource model again to verify the correction of any errors.

Procedure

  1. Launch the JavaScript Console by running the resource model as described in Running a resource model:
  2. Check the syntax errors displayed in the console.

    Additional Information: If no errors display in the JavaScript Console, the resource model is free of syntax errors, and you can exit this procedure.

  3. Locate the line of code in which the error occurred.

    Additional Information: The line number in which the error occurred displays in the console.

  4. Correct the syntax errors in the source script.

[ Top of Page | Previous Page | Next Page | Contents | Index ]