Set breakpoints or conditional breakpoints to pause scripts at specific lines, and
remove breakpoints when you are done debugging them.
このタスクについて
Breakpoints belong to the developer who sets them. Developers must set and remove
their own breakpoints.注: At a specific line, you can set either a logpoint or
breakpoint but not both.
手順
-
Navigate to the server script to debug.
For example, navigate to .
-
From the Syntax Editor, click the gutter next to a script line.
| Action | Description |
|---|
| Set a breakpoint |
Click a blank line to set a breakpoint. |
| Set a conditional breakpoint |
Right-click a blank line and click Add conditional
breakpoint to set a conditional breakpoint. |
| Remove a breakpoint |
Click a breakpoint to remove it. |
| Remove a conditional breakpoint |
Right-click a conditional breakpoint and select Remove
breakpoint to remove it. |
-
From the Syntax Editor toolbar, click the
Open
Script Debugger icon.
The system opens a Script Debugger
window.
-
Trigger the script.
For example, create a record to trigger an insert business rule script.
The
Script Debugger pauses the script on the first line containing a
breakpoint,
and the system displays a confirmation window.
-
Click Start Debugging.
The system switches focus to the Script Debugger window
and displays the target script paused at the first
breakpoint.
Console pane is enabled.
-
When debugging is complete, remove breakpoints from the script.