Book Image

Oracle Siebel CRM 8 Developer's Handbook

By : Alexander Hansal
Book Image

Oracle Siebel CRM 8 Developer's Handbook

By: Alexander Hansal

Overview of this book

Table of Contents (33 chapters)
Oracle Siebel CRM 8 Developer's Handbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface

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...