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

Tracing


Custom script often has a strong impact on the behavior of a Siebel CRM application in terms of functionality and performance. Developers and administrators who wish to maintain certain standards for monitoring script execution and performance can rely upon the tracing functionality, which is available for Siebel server script languages such as eScript.

Tracing allows us to write explicit information about the script execution, including timings and the SQL code produced by the script, to files. Script tracing is available on a global scale on the object manager level (not discussed in this book) and on the script level (discussed in the following section).

To implement tracing on the script level, we must use the TraceOn(), Trace(), and TraceOff() methods provided by the application object returned by the theApplication() function.

The following code snippet demonstrates the use of the tracing functionality.

TheApplication().TraceOn("C:\\SEBL_TRACE_$p_$t.txt","Allocation","All");...