|  |
Resource Model Builder Debugger for UNIX
A tool that allows graphical debugging of ITM Resource Models on Linux and UNIX.
Date Posted: August 6, 2004
|
|
 |
 |
|
What is Resource Model Builder Debugger for UNIX?
Resource Model Builder Debugger for UNIX® allows graphical debugging of the JavaScriptTM decision tree in IBM Tivoli Monitoring (ITM) resource models on Linux® and UNIX. This tool provides full debugging capabilities, such as setting break points and inspecting the value of a variable. It uses the graphical debugger supplied by the Rhino JavaScript interpreter shipped with ITM.
There are two ways to debug resource models:
- debugging graphically through debug_jscript.sh
- running the resource model from the CLI via debug_jscript_cli.sh
How does it work?
ITM Resource Models for UNIX are based on a JavaScript decision tree. ITM is shipped with the Rhino JavaScript engine for runing these decision tree scripts. When ITM runs, it uses Rhino to control the execution of each resource model's decision tree.
One component of the Rhino JavaScript engine is a graphical debugger written with Java's Swing. The Resource Model Builder Debugger for UNIX provides a harness for launching a resource model in Rhino's graphical debugger rather than in the normal ITM process. This allows a user to run a single resource model and step through the JavaScript code.
The Resource Model Builder Debugger for UNIX also comes with a tool that can run a resource model from the command line. This tool has been used to run resource models in a single isolated process, which has proven to be one method for discovering memory leaks in a resource model's data provider.
Also see the developerWorks tutorial: Debug IBM Tivoli Monitoring UNIX resource models - Using the Resource Model Builder Debugger for UNIX.
|
|
 |

|  | About the technology author(s): Andy Doan is a software engineer at IBM. He has worked on the IBM Tivoli Resource Model Builder for the past two years, focusing on Eclipse plug-in development. Mr. Doan holds a B.S. in Computer Science from Texas Tech University.
| |
|
| |
|