Debugging Agents: Traces, Failures, And Fixes