IBM Tivoli Software IBM Tivoli Software

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


Objective

To debug a JavaScript resource model so you can correct any errors in a resource model.

Background information

You can debug a JavaScript resource model with debugging tools, such as Microsoft Visual Studio(TM) or Script Debugger for Windows(TM). If you do not have a debugging program in your environment, you can obtain a free program by searching for a script debugger, or by downloading one from the following Web site:
http://microsoft.com/downloads/details.aspx?FamilyId=2F465BE0-94FD-
4569-B3C4-DFFDF19CCD99&displaylang=en

You can also debug a JavaScript resource model without a debugging program. Use the trace and logging files to search for resource model errors.

Before you begin

None

When you finish

When you have fixed all the errors, run the resource model again. To make sure that the resource model actually detects the problems that you specified, simulate those problems on your workstation when you run the resource model. See Running a resource model.

Procedure

  1. Run the resource model as described in Running a resource model.

    Additional Information: If your system has a debugging program installed, the debugger window automatically pops up after the resource model runs. If you get a prompt asking you if you want to debug an error, click Yes to launch the debugger.

  2. Determine the cause of the error by doing one of the following:

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