Enabling the Script Profiler and Line Profiler

You must enable the Script Profiler and the line profiler; they are not enabled by default.

To enable the Script Profiler

  1. Make sure your environment is currently connected to the database that a Siebel application uses, and that this application is opened in debug mode.

    You can use the Script Profiler only if your environment is currently connected to the database that the Siebel application uses, and if this application is opened in debug mode.

  2. Set the debug options on the Debug tab of the Development Tools Options dialog box.

    Make sure you complete options in the Run-time Start Up Information section and the Login Information section. For more information, see Setting Debug Options for Siebel Server Script Debugger.

  3. Make sure the Enable Profiler check box on the Debug tab of the Development Tools Options dialog box contains a check mark.

  4. Enable line profiling:

    1. Click Set Line Profile Rules.

      The Set Line Profile Rules button resides in the Profiler Start Up Options section on the Debug tab of the Development Tools Options dialog box.

    2. In the Line Profile Rules dialog box, add a rule using information from the following table, and then Click Add.

      Item Description

      Object Type

      Choose the object type. Only scriptable objects are available. For more information, see Object Types You Can Script.

      Object Name

      Enter the name of an object. You can include the entire object name or use wildcard operators.

      Function

      Enter the name of a function. You can enter the entire function name or use wildcard operators. For example, you can enter Service_PreInvokeMethod or Service*.

    3. Repeat Step b for each rule you want to add.
    4. Click OK to exit the Line Profile Rules dialog box.
  5. Click OK to exit the Development Tools Options dialog box.

    The settings for the line profile rule remain active only for the current session.

    To disable line profiling, make sure the Enable Profiler check box on the Debug tab of the Development Tools Options dialog box does not contain a check mark.