Testing and debugging scripts

The typical task flow for testing and debugging scripts can be described with the following list:

  1. Compile the object definition.
  2. Set breakpoints.
  3. Run the Siebel application in debug mode.
  4. Invoke the script code from the application.
  5. Use the Watch window to verify script operations.
  6. In the case of errors, correct the code and save the script.
  7. Continue from step 4 and repeat until script executes without errors.
  8. Compile the object definition.

Compiling the object definition

Once we have finished the code implementation in the script editor, we must save our work and compile the parent object definition. In the case of our code example, we must compile the new business service named AHA Info Service.

Setting breakpoints

Assuming ...

Get Oracle Siebel CRM 8 Developer's Handbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.