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 layout.
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.
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.
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
Use Analyze trace 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 Analyze trace in the timeline header. If the trace has already been analyzed, the button reads Reanalyze.
- Review the Work sections. Loop groups the meaningful LLM and tool spans into the work the trace performed and explains what each one contributed.
Where the Debugger fits
The Debugger also runs underneath Patterns. When a scheduled Loop automation investigates your project, it uses the same analysis to inspect individual traces closely enough to support a finding. The two connect in both directions. Selecting a trace from a pattern’s evidence opens it in the Debugger, scrolled to the span the evidence came from with the quoted terms highlighted. Going the other way, a Debugger report includes findings from any pattern that cites the debugged trace as evidence, each linking back to the pattern it came from. A finding that appears in the report may therefore come from an earlier investigation rather than from the run you just triggered.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.