Loading
Home » Archive

Articles in the Debugging Techniques Category

Configuration, Debugging Techniques, Tips & Tricks »

[23 Jun 2009 | 3 Comments | ]

When you goto Tools->Screen object, you cannot see ‘Bitmap Category’ field because it is HIDDEN in tools for a normal view. You need to enable it from Tools CFG.
Here are steps -
1. Open your Tools.cfg.

2. Search for “ClientConfigurationMode”, it might be there with value like
ClientConfigurationMode = Web
3. If you find it or did’t find it, just add/replace below value to the [Siebel] section of CFG. This is the first section of CFG.
ClientConfigurationMode = All
4. Relaunch your Tools. This will show certain hidden fields and Objects of Tools.
5. …

Debugging Techniques, Featured, Scripting, Tips & Tricks »

[6 May 2009 | 2 Comments | ]

1. Create a simple batch file “SiebelKill.bat”
2. Right Click Edit the file with Notepad
3. Put the below text
REM******************************************************************************
TASKKILL /F /IM siebel.exe
TASKKILL /F /IM iexplore.exe /FI “WINDOWTITLE eq Siebel Call Center – Microsoft Internet Explorer*”
REM******************************************************************************
4. Save the file
5. Double click the file whenever you want your dedicated Siebel application and its task – Siebel.exe to get killed from Task Manager automatically.
And its done…

Debugging Techniques, Scripting »

[27 Apr 2009 | Comments Off | ]

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 »

[24 Apr 2009 | 7 Comments | ]

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 »

[24 Apr 2009 | 5 Comments | ]

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