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

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");...
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