Using Siebel Tools > Using Siebel Script Editors > Using the Script Profiler >

Enabling the Script Profiler and Line Profiler


The Script Profiler and the line profiler are not enabled after you install Siebel Tools. You must enable them.

To enable the Script Profiler

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

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

  2. Make sure the ST eScript Engine is enabled.

    You can use the Script Profiler only if the ST eScript Engine is enabled. For more information, see Enabling the ST eScript Engine.

  3. 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.

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

    The Enable Profiler option is available only if the ST eScript Engine is enabled. Siebel Tools enables the Script Profiler the next time you use the debug mode in Siebel Tools to open a Siebel Business Application.

  5. Enable line profiling:
    1. Click Set Line Profile Rules.

      The Set Line Profile Rules button is located 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 must add.
    4. Click Ok to exit the Line Profile Rules dialog box.
  6. Click OK to exit the Development Tools Options dialog box.

    The settings for the line profile rule remain active only for the current Siebel Tools 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.

Using Siebel Tools Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.