Using Breakpoints

A breakpoint is a marker in a line of code that stops code from running at the line marker, thereby allowing you to examine the state of the program at that line.

To use breakpoints

  • Do one of the following in Siebel Server Script Debugger:

    • Place the cursor on the line of code where you want to set a breakpoint, and then click Toggle Breakpoint on the Server Script Debugger toolbar. For more information about the Server Script Debugger toolbar, see Accessing Siebel Server Script Debugger.

    • Place the cursor on the line of code where you want to set a breakpoint, and then select Toggle Breakpoint from the Debug menu.

    • Click the gutter area adjacent to the line of code where you want to set a breakpoint to turn on the breakpoint.

    • Position the cursor in the gutter area adjacent to the line of code where you want to set a breakpoint, right-click and then select Toggle Breakpoint from the popup menu that appears.

    If a breakpoint already exists on the line of code, then the breakpoint is removed. If a breakpoint does not already exist on the line of code, then a breakpoint is added.