Reader small image

You're reading from  Oracle Siebel CRM 8 Developer's Handbook

Product typeBook
Published inApr 2011
Reading LevelIntermediate
Publisher
ISBN-139781849681865
Edition1st Edition
Languages
Concepts
Right arrow
Author (1)
Alexander Hansal
Alexander Hansal
author image
Alexander Hansal

Alexander Hansal has worked as an IT professional in small, medium, and global corporations. Since 2001, Alexander works as a technical instructor and consultant for Siebel CRM and Oracle Business Intelligence in Europe. He enjoys teaching, and shares his knowledge and expertise in his classes at Oracle University and in his weblog, http://siebel-essentials.blogspot.com/
Read more about Alexander Hansal

Right arrow

Testing and debugging scripts


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

  1. 1. Compile the object definition.

  2. 2. Set breakpoints.

  3. 3. Run the Siebel application in debug mode.

  4. 4. Invoke the script code from the application.

  5. 5. Use the Watch window to verify script operations.

  6. 6. In the case of errors, correct the code and save the script.

  7. 7. Continue from step 4 and repeat until script executes without errors.

  8. 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 that we have already defined the Debug settings in the Siebel Tools options dialog (as described in Chapter 2), we can now set breakpoints in our code in order to prepare it for debugging. To accomplish this we set the cursor...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Oracle Siebel CRM 8 Developer's Handbook
Published in: Apr 2011Publisher: ISBN-13: 9781849681865

Author (1)

author image
Alexander Hansal

Alexander Hansal has worked as an IT professional in small, medium, and global corporations. Since 2001, Alexander works as a technical instructor and consultant for Siebel CRM and Oracle Business Intelligence in Europe. He enjoys teaching, and shares his knowledge and expertise in his classes at Oracle University and in his weblog, http://siebel-essentials.blogspot.com/
Read more about Alexander Hansal