Using Siebel Tools > Using Siebel Script Editors > Using the Siebel Debugger >
Validating Script Syntax
The debugger includes a syntax checker that you can use to make sure your script compiles properly. CAUTION: The Check Syntax feature identifies only syntax errors and errors that occur if an object or variable is not initialized. It does not identify other types of errors and it cannot trap an error that might cause a run-time error. It examines only script that is attached to the current active object. If an error exists in another script, then you cannot compile the repository.
To validate script syntax
- Open the Siebel Script Editor, click the Debug menu, and then click Check Syntax.
Siebel Tools does a test compile, and then does one of the following:
- It finds no error. It displays nothing.
- It finds an error. It displays a dialog box that describes the error.
- If the script includes an error, then click Go to Line in the dialog box.
Siebel Tools positions the cursor on the script line that causes the error and highlights this line.
- Correct the code and repeat Step 1.
If the syntax of the line that you modified is correct, then the dialog box displays the next error it finds, if any.
- Repeat Step 1 and Step 2 until you correct all errors.
- Click the File menu, and then click Save.
- Deliver your changes to the repository.
For more information on how to deliver your workspaces, see Delivering Workspaces.
|