Articles in the Scripting Category
Debugging Techniques, Scripting »
Right Click on My Computer
Goto Properties -> Advanced -> Environment Variables
Goto System Variables. Click New. Add below values
Variable Name : SIEBEL_LOG_EVENTS
Variable Value: can be (1,2,3,4,ALL). Highest value is “ALL”
Goto System Variables again. Click New. Add below values
Variable Name : SIEBEL_LOG_DIR
Variable Value: Directory where you wants logs like (c:LocalLogdir)
Debugging Techniques, Scripting »
How to do Browser Script Tracing in Siebel
For tracing the browser script, you can follow the below procedure –
1. In Application Browser script, create new script with MethodName “trace_log”.
function trace_log(as_text)
{
try
{
var MyWindow = window.open(”,’DEBUG’,’toolbar=no,location=no,’ + ‘directories=no,status=no,menubar=no,’ + ’scrollbars=yes,resizable=yes,’ + ‘width=400,height=300,left=20,top=20′);
MyWindow.document.write(as_text + “<BR><BR>”);
}//try
catch(e)
{
alert(”an error occurred in log ” + e.message + “n” + e.toString());}//catch
finally
{
MyWindow = null; }//finally
}//endfunc
2. Application Browser Script declarations write –
top.log = trace_log.
3. Now you can call top.log(“text”) function from any Browser Script(Application, Applet, BusComp, Business Service) , it will write logs to a pop-up …
Debugging Techniques, Scripting »
During the development or testing phase of Siebel Application we may encounter errors in Siebel Dedicated or Tools. So how do we find out the source of error or where to raise log levels to get detailed log file.
Siebel provides some debugging techniques , just follow the below links for details
• Enable Client Side Tracing Scripts
• Siebel Environment Variables
• Spooling
• Siebel Debugger – Break Points
