Diagnose a failure
Use the Debugger when you know a trace went wrong but not why, and the trace is too long to read span by span. Loop identifies the failure modes it considers likely and cites the evidence behind each one, so you start from something concrete instead of scrolling.1
Open the trace
Open a trace from the Logs page and select the Debugger tab.
2
Run the debugger
Click Run debugger. If a report already exists for the trace, the button reads Run again. While Loop works, a Debugger progress panel shows the steps completed so far and the elapsed time, and its menu offers View in Loop and Run again.The Debugger uses your Loop provider and model. Select to change the model for this run. If no compatible provider is configured, the button is disabled. Hover over it to see a link to your AI providers settings.
3
Read the report
See What’s in a report for how it’s organized.
4
Follow the evidence
Select any evidence item to jump to that span in the trace, scrolled to the field it came from with the supporting phrase highlighted.If you use the new thread view, the evidence is also highlighted in the thread, so you can read each finding in the context of the conversation.
5
Continue in Loop
To take a diagnosis further, click Continue in Loop on the report and ask follow-up questions against the full project. See Analyze traces.
What’s in a report
A report from the Debugger opens with a Summary of what Loop found, followed by one entry per failure mode. The tab shows a count once findings exist. Each finding carries a title, a severity of critical, high, medium, or low, and a short label for the area it relates to, such asinfrastructure, evaluation, or tool_call. Severity is medium when Loop doesn’t specify one, so treat that level as unranked rather than as a deliberate judgment.
Within a finding:
- Hypothesis is what Loop believes went wrong.
- Potential root cause is why it believes that happened.
- Evidence lists the spans, tool calls, and model outputs behind the finding.
- Next steps, when Loop has something specific to suggest, are the smallest useful actions to take.
Treat the Debugger’s findings as a starting hypothesis with evidence attached, not a verdict. Each finding points at the spans it came from so you can check the reasoning yourself.
Summarize what a trace did
Generate a guide when you want to understand an unfamiliar trace rather than diagnose it, and answer “what happened here” before deciding whether anything went wrong.- Open a trace from the Logs page and select the Timeline () layout.
- Click Generate guide in the timeline header. Click it again to regenerate the guide on a trace that already has one. If no compatible provider is configured, the button is disabled. Hover over it to see a link to your AI providers settings.
- Review the Guide: Collapsible timeline groups that explain the work performed by LLM and tool spans. Unassigned spans appear under Uncategorized. Selecting a span in a collapsed section automatically expands it. To see the timeline without sections, select Spans in the timeline header. Select Guide to return.
Where the Debugger fits
Scheduled Patterns investigations use the Debugger to inspect individual traces and support their findings. You can navigate between a pattern and its evidence:- From a pattern: On the Patterns page, select span evidence to open the trace beside the pattern. The source field and quoted terms are highlighted when available.
- From a Debugger report: Findings from patterns that cite the trace link back to those patterns. These findings can come from earlier investigations, even without a full analysis of the trace.
Next steps
- Examine traces to navigate spans, timelines, and threads by hand.
- Review and act on patterns to see the same analysis applied across your project.
- What Loop can do for the rest of Loop’s trace analysis tools.