Set and Use Breakpoints

Breakpoints pause the workflow at specific nodes so you can inspect the node's state before continuing. They are useful because they let you stop the workflow before it moves too far downstream. This makes it easier to isolate the exact state at a decision point.

Set a Breakpoint

Here are the steps to set a breakpoint in the workflow.
  1. Go to AI Agent Studio and open the Workflows workflows tab.
  2. Select Edit Edit to modify a workflow.
  3. From the toolbar, select Debug Debug.
  4. Enter a prompt in Ask Oracle and submit it to run the workflow.
  5. Locate the node where you want the run to pause.
  6. Hover near the breakpoint control on the node breakpoint and select it to activate the breakpoint. Confirm that the breakpoint indicator turns red breakpoint indicator, indicating active breakpoint state.
We recommend setting breakpoints immediately before nodes that are expensive, error-prone, or important for data handoff. For example:
  • Before a function, service, or tool call
  • Before a RAG Document Tool node
  • Before a final summary node
  • After an intent-extraction node
  • Before a node that recently changed

Run to a Breakpoint

  1. Go to AI Agent Studio and open the Workflows workflows tab.
  2. Select Edit Edit to modify a workflow.
  3. From the toolbar, select Debug Debug.
  4. Enter a prompt in Ask Oracle and submit it to run the workflow. The workflow runs and when the run reaches the breakpoint, the workflow pauses.
  5. Read the chat or debug status message to confirm the stopped node.
  6. Select the paused node and inspect the results from the Results tab.
Breakpoints are useful because they let you stop the workflow before it moves too far downstream. This makes it easier to isolate the exact state at a decision point.

Remove a Breakpoint

Select the active breakpoint control breakpoint indicator to disable it. Remove any temporary breakpoints before final validation so the workflow can run end-to-end.